OSDN Git Service

LSR: ignore strides in outer loops.
authorAndrew Trick <atrick@apple.com>
Sat, 10 Dec 2011 00:25:00 +0000 (00:25 +0000)
committerAndrew Trick <atrick@apple.com>
Sat, 10 Dec 2011 00:25:00 +0000 (00:25 +0000)
commitfa1948a40f14d98c1a31a2ec19035a2d5254e854
treeaabe5d0b5556ea47bbe49448950e27a9c67eb1db
parent48171e7fbe58bb418f09717813779d03903d35e4
LSR: ignore strides in outer loops.

Since we're not rewriting IVs in other loops, there's not much reason
to consider their stride when generating formulae.
This should reduce the number of useless formulas considered by LSR.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146302 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopStrengthReduce.cpp