If IV is used in a int-to-float cast inside the loop then try to eliminate the cast...
authorDevang Patel <dpatel@apple.com>
Thu, 14 Aug 2008 20:58:31 +0000 (20:58 +0000)
committerDevang Patel <dpatel@apple.com>
Thu, 14 Aug 2008 20:58:31 +0000 (20:58 +0000)
commit79ceb4463efc699c8aa1647d4ecbc15bed19e1c9
treec32e28beb1c4b5af12d1c466f6be2ee3ecef3613
parent9d7f0b76aac3bf0524e9285101e34c15e1e2c599
If IV is used in a int-to-float cast inside the loop then try to eliminate the cast opeation.

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