[PATCH] D87344: [IndVars] Remove exiting conditions that are trivially true/false

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 21 21:46:44 PDT 2020


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

Addressed comments, fixed bug with non-loop true successor, added corresponding test.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87344/new/

https://reviews.llvm.org/D87344

Files:
  llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
  llvm/test/Transforms/IndVarSimplify/eliminate-comparison.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87344.293333.patch
Type: text/x-patch
Size: 8958 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200922/4fe9c145/attachment-0001.bin>


More information about the llvm-commits mailing list