[PATCH] D142240: [LSR] Generalize one aspect of terminator folding (recently introduced in D132443)
Philip Reames via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 20 11:08:41 PST 2023
reames created this revision.
reames added reviewers: eopXD, craig.topper.
Herald added subscribers: bollu, hiraditya, mcrosier.
Herald added a project: All.
reames requested review of this revision.
Herald added a project: LLVM.
There's no need to require the start value to come directly from the loop predecessor.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D142240
Files:
llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
llvm/test/Transforms/LoopStrengthReduce/lsr-term-fold-negative-testcase.ll
llvm/test/Transforms/LoopStrengthReduce/lsr-term-fold.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142240.490912.patch
Type: text/x-patch
Size: 5552 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230120/066873a0/attachment.bin>
More information about the llvm-commits
mailing list