-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes for basic block flags. (#37335)
Fix the code that propagates flags from the basic block of the return expression to the caller's basic block during inlining. We are now properly tracking the basic block of the return expression. Fixes #36588. Don't mark BBJ_RETURN blocks with BBF_BACKWARD_JUMP since they are executed at most once. The first change had a few diffs because we propagated BBF_BACKWARD_JUMP flag. After analyzing them I realized that we shouldn't mark BBJ_RETURN blocks with BBF_BACKWARD_JUMP in the first place. That resulted in some diffs because we are less aggressive with inlining of calls outside of loops.
- Loading branch information
1 parent
fa4d434
commit f326f52
Showing
5 changed files
with
45 additions
and
15 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
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