[PATCH] D141994: [IndVars] Expand icmp in preheader rather than in loop

Aleksandr Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 20 03:12:57 PST 2023


aleksandr.popov updated this revision to Diff 490768.
aleksandr.popov added a comment.

assert the fact that LHSV/RHSV are loop invariants


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

https://reviews.llvm.org/D141994

Files:
  llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
  llvm/test/Transforms/IndVarSimplify/AArch64/widen-loop-comp.ll
  llvm/test/Transforms/IndVarSimplify/predicated_ranges.ll
  llvm/test/Transforms/IndVarSimplify/turn-to-invariant.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141994.490768.patch
Type: text/x-patch
Size: 18856 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230120/aef00fd5/attachment.bin>


More information about the llvm-commits mailing list