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

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 6 22:35:56 PST 2018


mkazantsev updated this revision to Diff 172898.
mkazantsev added a comment.

Fixed typo bug, added LI and DT verification, changed FoldingCandidates to vector to keep deterministic order of updates, updated tests with decline messages to make sure that we exercise all possible scenarios in our test file.


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.172898.patch
Type: text/x-patch
Size: 21213 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181107/a50a27b6/attachment.bin>


More information about the llvm-commits mailing list