[PATCH] D82730: [SimplifyCFG] Merge identical basic blocks (WIP)
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 5 09:02:16 PDT 2020
nikic updated this revision to Diff 275554.
nikic added a comment.
Improve phi handling. Blocks with phi nodes can be merged, but it requires some care when backedges are involved.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82730/new/
https://reviews.llvm.org/D82730
Files:
llvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp
llvm/lib/Transforms/Utils/SimplifyCFG.cpp
llvm/test/Transforms/LoopDeletion/simplify-then-delete.ll
llvm/test/Transforms/LoopUnswitch/infinite-loop.ll
llvm/test/Transforms/PGOProfile/chr.ll
llvm/test/Transforms/SimplifyCFG/ForwardSwitchConditionToPHI.ll
llvm/test/Transforms/SimplifyCFG/HoistCode.ll
llvm/test/Transforms/SimplifyCFG/X86/switch_to_lookup_table.ll
llvm/test/Transforms/SimplifyCFG/duplicate-landingpad.ll
llvm/test/Transforms/SimplifyCFG/merge-blocks.ll
llvm/test/Transforms/SimplifyCFG/wc-widen-block.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82730.275554.patch
Type: text/x-patch
Size: 46647 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200705/6058ce58/attachment.bin>
More information about the llvm-commits
mailing list