[PATCH] D54023: [LoopSimplifyCFG] Delete dead in-loop blocks
Max Kazantsev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 1 21:46:13 PDT 2018
mkazantsev created this revision.
mkazantsev added reviewers: escha, anna, skatkov, fedor.sergeev, reames.
This patch teaches LoopSimplifyCFG to delete loop blocks that have
become unreachable after terminator folding has been done.
https://reviews.llvm.org/D54023
Files:
lib/Transforms/Scalar/LoopSimplifyCFG.cpp
test/Transforms/LoopSimplifyCFG/constant-fold-branch.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54023.172302.patch
Type: text/x-patch
Size: 13498 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181102/b2c12e50/attachment.bin>
More information about the llvm-commits
mailing list