OSDN Git Service

If IV is used in a int-to-float cast inside the loop then try to eliminate the cast...
authorDevang Patel <dpatel@apple.com>
Tue, 26 Aug 2008 17:57:54 +0000 (17:57 +0000)
committerDevang Patel <dpatel@apple.com>
Tue, 26 Aug 2008 17:57:54 +0000 (17:57 +0000)
commita0b3909d432e9f2c79aee8ec3133f9b9ec71dc1a
tree7aa570698678e9a0eaac508f3fa2ccae63a7f70b
parent46aa2f5aab3d39e9cba840ecd8068a6531f8f8a9
If IV is used in a int-to-float cast inside the loop then try to eliminate the cast operation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55374 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopStrengthReduce.cpp
test/Transforms/LoopStrengthReduce/2008-08-14-ShadowIV.ll