Place the extracted blocks after the entry block of the new function to keep the created return blocks topologically ordered to the original blocks.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Paths
| Differential D108673
[CodeExtractor] Preserve topological order for the return blocks. ClosedPublic Authored by vzakhari on Aug 24 2021, 4:25 PM.
Details Summary Place the extracted blocks after the entry block of the new function to keep the created return blocks topologically ordered to the original blocks.
Diff Detail
Unit TestsFailed Event TimelineThis revision is now accepted and ready to land.Aug 24 2021, 5:01 PM This revision was landed with ongoing or failed builds.Aug 25 2021, 8:09 AM Closed by commit rG2e192ab1f457: [CodeExtractor] Preserve topological order for the return blocks. (authored by vzakhari). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 368494 llvm/lib/Transforms/IPO/IROutliner.cpp
llvm/lib/Transforms/Utils/CodeExtractor.cpp
llvm/test/Transforms/CodeExtractor/LoopExtractor.ll
llvm/test/Transforms/CodeExtractor/LoopExtractor_crash.ll
llvm/test/Transforms/CodeExtractor/LoopExtractor_infinite.ll
llvm/test/Transforms/CodeExtractor/live_shrink_unsafe.ll
llvm/test/Transforms/CodeExtractor/unreachable-block.ll
llvm/test/Transforms/HotColdSplit/multiple-exits.ll
llvm/test/Transforms/IROutliner/outlining-different-output-blocks.ll
llvm/test/Transforms/IROutliner/outlining-same-output-blocks.ll
llvm/test/Transforms/OpenMP/parallel_region_merging.ll
llvm/test/tools/llvm-extract/extract-blocks-with-groups.ll
|
clang-tidy: warning: invalid case style for variable 'newFuncIt' [readability-identifier-naming]
not useful