-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve DOT flow graph dumping (#52329)
1. Do not include EH and Loop regions in the graph for inlinees. The data required for them is not valid in the inlinee compiler. 2. Do not include Loop regions in phases starting with the rationalizer. The loop table is not maintained, and decays, but we don't ever mark it as invalid. This is an arbitrary point after which it seems to be unmaintained (and can lead to asserts when using it). 3. Add the text "(inlinee)" to the function name in inlinee graph output, to distinguish it. 4. Fix a bug where the block map was using incorrect block number count for inlinees. 5. Fix a region insert bug when inserting a parent region after a child region where they share the end block (but the parent start block is earlier than the child). This happens in some EH region tables. Added some comments about all the different forms of region that need to be handled. 6. Add a `Verify` function to validate the constructed region tree. 7. Stop adding removed loops to the output.
- Loading branch information
1 parent
be93385
commit e23bd5e
Showing
1 changed file
with
123 additions
and
20 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