indvars: Added DisableIVRewrite and WidenIVs.
authorAndrew Trick <atrick@apple.com>
Wed, 4 May 2011 02:10:13 +0000 (02:10 +0000)
committerAndrew Trick <atrick@apple.com>
Wed, 4 May 2011 02:10:13 +0000 (02:10 +0000)
commit37da40875873d70b83dc08b2803052bec9b68886
tree33e71e4fbec3a31de207a5d174a7b73de42abced
parent9f1569a3f732f2842d866bc26075e3bd79240266
indvars: Added DisableIVRewrite and WidenIVs.

This adds functionality to remove size/zero extension during indvars
without generating a canonical IV and rewriting all IV users. It's
disabled by default so should have no effect on codegen. Work in progress.

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