[PATCH] D139934: [IndVars] Apply more optimistic SkipLastIter for AND/OR conditions

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 17 23:02:16 PST 2023


mkazantsev updated this revision to Diff 490049.
mkazantsev marked 2 inline comments as done.
mkazantsev added a comment.

Removed quadratic compexity, now it's linear.


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

https://reviews.llvm.org/D139934

Files:
  llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
  llvm/test/Transforms/IndVarSimplify/X86/widening-vs-and-elimination.ll
  llvm/test/Transforms/IndVarSimplify/turn-to-invariant.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139934.490049.patch
Type: text/x-patch
Size: 11541 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230118/99a45c95/attachment.bin>


More information about the llvm-commits mailing list