aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/GVN/2007-07-26-InterlockingLoops.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-05-22 07:02:43 +0000
committerChris Lattner <sabre@nondot.org>2011-05-22 07:02:43 +0000
commit0e959394ad5b74970253d21069ae11f25290e1fc (patch)
tree1a6050c9fd4fb4c92781fac82dd7773b87cb06e5 /test/Transforms/GVN/2007-07-26-InterlockingLoops.ll
parent208d92c143b255894d78283c52d53eccb29fcba8 (diff)
downloadexternal_llvm-0e959394ad5b74970253d21069ae11f25290e1fc.zip
external_llvm-0e959394ad5b74970253d21069ae11f25290e1fc.tar.gz
external_llvm-0e959394ad5b74970253d21069ae11f25290e1fc.tar.bz2
remove a trivial test, make some other tests less trivial.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131846 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/GVN/2007-07-26-InterlockingLoops.ll')
-rw-r--r--test/Transforms/GVN/2007-07-26-InterlockingLoops.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Transforms/GVN/2007-07-26-InterlockingLoops.ll b/test/Transforms/GVN/2007-07-26-InterlockingLoops.ll
index 14cb91b..a1cc008 100644
--- a/test/Transforms/GVN/2007-07-26-InterlockingLoops.ll
+++ b/test/Transforms/GVN/2007-07-26-InterlockingLoops.ll
@@ -4,8 +4,11 @@
define i32 @NextRootMove(i32 %wtm) {
entry:
+ %A = alloca i32*
%tmp17618 = load i32** getelementptr ([65 x i32*]* @last, i32 0, i32 1), align 4
+ store i32* %tmp17618, i32** %A
; CHECK: entry:
+; CHECK-NEXT: alloca i32
; CHECK-NEXT: %tmp17618 = load
; CHECK-NOT: load
; CHECK-NOT: phi
@@ -16,6 +19,7 @@ cond_true116:
cond_true128:
%tmp17625 = load i32** getelementptr ([65 x i32*]* @last, i32 0, i32 1), align 4
+ store i32* %tmp17625, i32** %A
br i1 false, label %bb98.backedge, label %return.loopexit
bb98.backedge:
@@ -23,6 +27,7 @@ bb98.backedge:
cond_true145:
%tmp17631 = load i32** getelementptr ([65 x i32*]* @last, i32 0, i32 1), align 4
+ store i32* %tmp17631, i32** %A
br i1 false, label %bb98.backedge, label %return.loopexit
return.loopexit: