[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
Wed Nov 2 14:19:04 PDT 2022


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

Change: Address comment, avoid duplicate  calculation for TermValueS.


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.472763.patch
Type: text/x-patch
Size: 11493 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221102/b1b752c6/attachment.bin>


More information about the llvm-commits mailing list