Files
archived-llvm/test/Transforms/LoopStrengthReduce
Gil Rapaport 36fe44dfcc [LSR] Combine unfolded offset into invariant register
LSR reassociates constants as unfolded offsets when the constants fit as
immediate add operands, which currently prevents such constants from being
combined later with loop invariant registers.
This patch modifies GenerateCombinations() to generate a second formula which
includes the unfolded offset in the combined loop-invariant register.

This commit fixes a bug in the original patch (committed at r345114, reverted
at r345123).

Differential Revision: https://reviews.llvm.org/D51861


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@346390 91177308-0d34-0410-b5e6-96231b3b80d8
2018-11-08 09:01:19 +00:00
..
2018-05-16 02:48:50 +00:00
2017-08-04 18:46:13 +00:00