[PATCH] D54021: [LoopSimplifyCFG] Teach LoopSimplifyCFG to constant-fold branches and switches

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 16 03:50:58 PST 2018


mkazantsev updated this revision to Diff 174351.
mkazantsev marked an inline comment as done.
mkazantsev added a comment.

Fixed typo, added comment that explains why the loop can be dead in one way only.


https://reviews.llvm.org/D54021

Files:
  lib/Transforms/Scalar/LoopSimplifyCFG.cpp
  test/Transforms/LoopSimplifyCFG/constant-fold-branch.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54021.174351.patch
Type: text/x-patch
Size: 21683 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181116/fdb4ac24/attachment.bin>


More information about the llvm-commits mailing list