If all IV uses are extending integer IV then change the type of IV itself, if possible.
authorDevang Patel <dpatel@apple.com>
Tue, 2 Sep 2008 22:18:08 +0000 (22:18 +0000)
committerDevang Patel <dpatel@apple.com>
Tue, 2 Sep 2008 22:18:08 +0000 (22:18 +0000)
commit108f92e376fd5f7c7c5c4e22dd10c1a5b279b1e3
tree14d91b2aef03378559b04433cd292dc7fc9a944b
parent691e52445e2a32d237fc23073fbaf93fb96ce584
If all IV uses are extending integer IV then change the type of IV itself, if possible.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55674 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopStrengthReduce.cpp
test/Transforms/LoopStrengthReduce/2008-09-02-IVType.ll [new file with mode: 0644]