Teach IVUsers to keep things simpler and track loop-invariant strides only
authorJim Grosbach <grosbach@apple.com>
Thu, 19 Nov 2009 02:05:44 +0000 (02:05 +0000)
committerJim Grosbach <grosbach@apple.com>
Thu, 19 Nov 2009 02:05:44 +0000 (02:05 +0000)
commit97200e4dd4576d2a07547e07f8118cd01b63f2e9
tree23087dc840e9d6175b22f75e541663ce44472889
parentd0b552cc5680ae245258598586115d05291b7b19
Teach IVUsers to keep things simpler and track loop-invariant strides only
for uses inside the loop. This works better with LSR. Disabled behind
-simplify-iv-users while benchmarking.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89299 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/IVUsers.cpp