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

Aleksandr Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 24 02:15:29 PST 2023


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

Move expander's insertion point to the preheader


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.491676.patch
Type: text/x-patch
Size: 19279 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230124/668c0ec1/attachment.bin>


More information about the llvm-commits mailing list