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
This commit is contained in:
Devang Patel
2008-08-26 17:57:54 +00:00
parent 46aa2f5aab
commit a0b3909d43
2 changed files with 118 additions and 3 deletions
@@ -1,5 +1,4 @@
; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | grep "phi double" | count 1
; XFAIL: *
define void @foobar(i32 %n) nounwind {
entry: