[PATCH] D51519: [SimpleLoopUnswitch] remove a chain of dead blocks at once
Fedor Sergeev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 31 02:14:02 PDT 2018
fedor.sergeev updated this revision to Diff 163488.
fedor.sergeev added a comment.
addressing comments:
- populate candidates with current loop blocks + exit blocks
- run candidate loop separately after that
Also removed DeadBlocks vector since it duplicates the set
and is not actively used.
Repository:
rL LLVM
https://reviews.llvm.org/D51519
Files:
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
test/Transforms/SimpleLoopUnswitch/delete-dead-blocks.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51519.163488.patch
Type: text/x-patch
Size: 4418 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180831/697aa5f3/attachment.bin>
More information about the llvm-commits
mailing list