diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-08-15 08:12:11 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-08-15 08:12:11 +0000 |
commit | 86834d29f3a7f4a141c79474f41af202d76304b2 (patch) | |
tree | 44da685f4e435d36177ffa353ff0583354ab303c /llvm/test/Transforms/LoopStrengthReduce | |
parent | 1d23915a8fbcbe122f70c7036096be4a5939319c (diff) | |
download | bcm5719-llvm-86834d29f3a7f4a141c79474f41af202d76304b2.tar.gz bcm5719-llvm-86834d29f3a7f4a141c79474f41af202d76304b2.zip |
Revert 54786. It's not checking for overflows, etc.
llvm-svn: 54813
Diffstat (limited to 'llvm/test/Transforms/LoopStrengthReduce')
-rw-r--r-- | llvm/test/Transforms/LoopStrengthReduce/2008-08-14-ShadowIV.ll | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/llvm/test/Transforms/LoopStrengthReduce/2008-08-14-ShadowIV.ll b/llvm/test/Transforms/LoopStrengthReduce/2008-08-14-ShadowIV.ll index 681c9be1675..e69de29bb2d 100644 --- a/llvm/test/Transforms/LoopStrengthReduce/2008-08-14-ShadowIV.ll +++ b/llvm/test/Transforms/LoopStrengthReduce/2008-08-14-ShadowIV.ll @@ -1,27 +0,0 @@ -; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | grep "phi double" - -define void @foobar(i32 %n) nounwind { -entry: - icmp eq i32 %n, 0 ; <i1>:0 [#uses=2] - br i1 %0, label %return, label %bb.nph - -bb.nph: ; preds = %entry - %umax = select i1 %0, i32 1, i32 %n ; <i32> [#uses=1] - br label %bb - -bb: ; preds = %bb, %bb.nph - %i.03 = phi i32 [ 0, %bb.nph ], [ %indvar.next, %bb ] ; <i32> [#uses=3] - tail call void @bar( i32 %i.03 ) nounwind - uitofp i32 %i.03 to double ; <double>:1 [#uses=1] - tail call void @foo( double %1 ) nounwind - %indvar.next = add i32 %i.03, 1 ; <i32> [#uses=2] - %exitcond = icmp eq i32 %indvar.next, %umax ; <i1> [#uses=1] - br i1 %exitcond, label %return, label %bb - -return: ; preds = %bb, %entry - ret void -} - -declare void @bar(i32) - -declare void @foo(double) |