forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JIT: Remove
GTF_IS_IN_CSE
(dotnet#104855)
This flag is just a convoluted way to pass an argument through to a bunch of methods from inside CSE. That's because CSE tries to reuse `gtExtractSideEffList` even though it needs something more capable that considers CSE defs and CSE uses as well. Remove the flag in favor of an `ignoreCctors` flag in the side effect checking functions; then, additionally add a CSE-specific version of `gtExtractSideEffList` called `optExtractSideEffectsForCSE` which handles side effects and also CSE defs/uses. This does result in a slight amount of duplication, but I think that's beneficial over the convoluted logic before.
- Loading branch information
1 parent
5354e0f
commit a86987c
Showing
4 changed files
with
161 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.