[PATCH] D132443: [LSR] Fold terminal condition to other IV when possible

Yueh-Ting (eop) Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 24 10:11:58 PDT 2022


eopXD updated this revision to Diff 455266.
eopXD added a comment.

Recover testcase LoopStrengthReduce/opaque-ptr.ll since an option is now added
to guard the transformation.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132443

Files:
  llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
  llvm/test/Transforms/LoopStrengthReduce/lsr-fold-iv-complicate-add-rec.ll
  llvm/test/Transforms/LoopStrengthReduce/lsr-fold-iv-const-tripcount.ll
  llvm/test/Transforms/LoopStrengthReduce/lsr-fold-iv-negative-testcase.ll
  llvm/test/Transforms/LoopStrengthReduce/lsr-fold-iv-runtime-tripcount.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132443.455266.patch
Type: text/x-patch
Size: 18974 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220824/ed784ff6/attachment.bin>


More information about the llvm-commits mailing list