Teach LSR sink to sink the immediate portion of the common expression back into uses...
authorEvan Cheng <evan.cheng@apple.com>
Sat, 21 Feb 2009 02:06:47 +0000 (02:06 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sat, 21 Feb 2009 02:06:47 +0000 (02:06 +0000)
commitd9fb7124035d6f95fb08c5157ab1813fbb2a282f
tree4eea0bdefddeeb15360a0c1b03206707d7f3614a
parent5a45d76c25d859c526fcdcdec3f07c97fec07d6b
Teach LSR sink to sink the immediate portion of the common expression back into uses if they fit in address modes of all the uses.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65215 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopStrengthReduce.cpp
test/CodeGen/X86/2007-10-05-3AddrConvert.ll
test/CodeGen/X86/loop-strength-reduce-2.ll
test/CodeGen/X86/loop-strength-reduce8.ll [new file with mode: 0644]
test/CodeGen/X86/stride-nine-with-base-reg.ll