[PATCH] D136415: [LSR] Check if terminating value is safe to expand before transformation

Yueh-Ting (eop) Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 27 00:10:53 PDT 2022


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

Add test case provided by @JojoR


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136415

Files:
  llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
  llvm/test/Transforms/LoopStrengthReduce/lsr-term-fold-negative-testcase.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136415.471034.patch
Type: text/x-patch
Size: 8669 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221027/27561a71/attachment.bin>


More information about the llvm-commits mailing list