From f107befaf18127a633771f7bd8e51cbd8c1feaba Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Sun, 24 Jun 2007 08:17:41 +0000 Subject: [PATCH] Rename variables to expose the fact that this test is failing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37711 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/GVNPRE/basic.ll | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/test/Transforms/GVNPRE/basic.ll b/test/Transforms/GVNPRE/basic.ll index b1c1892e0d9..b74687394ac 100644 --- a/test/Transforms/GVNPRE/basic.ll +++ b/test/Transforms/GVNPRE/basic.ll @@ -1,38 +1,38 @@ -; RUN: llvm-as < %s | opt -gvnpre | llvm-dis | not grep {%t3 =} -; RUN: llvm-as < %s | opt -gvnpre | llvm-dis | not grep {%t9 =} +; RUN: llvm-as < %s | opt -gvnpre | llvm-dis | not grep {%z3 =} +; RUN: llvm-as < %s | opt -gvnpre | llvm-dis | not grep {%z9 =} define i32 @main() { block1: - %t1 = bitcast i32 0 to i32 ; [#uses=5] + %z1 = bitcast i32 0 to i32 ; [#uses=5] br label %block2 block2: ; preds = %block6, %block1 - %t2 = phi i32 [ %t1, %block1 ], [ %t3, %block6 ] ; [#uses=3] - %t3 = add i32 %t2, 1 ; [#uses=5] + %z2 = phi i32 [ %z1, %block1 ], [ %z3, %block6 ] ; [#uses=3] + %z3 = add i32 %z2, 1 ; [#uses=5] br i1 false, label %block3, label %block7 block3: ; preds = %block2 br i1 true, label %block4, label %block5 block4: ; preds = %block3 - %t4 = add i32 %t2, %t3 ; [#uses=1] - %t5 = bitcast i32 %t4 to i32 ; [#uses=1] - %t6 = add i32 %t1, %t5 ; [#uses=0] + %z4 = add i32 %z2, %z3 ; [#uses=1] + %z5 = bitcast i32 %z4 to i32 ; [#uses=1] + %z6 = add i32 %z1, %z5 ; [#uses=0] br label %block6 block5: ; preds = %block3 - %t7 = add i32 %t3, 1 ; [#uses=1] + %z7 = add i32 %z3, 1 ; [#uses=1] br label %block6 block6: ; preds = %block5, %block4 - %t8 = phi i32 [ %t1, %block4 ], [ %t7, %block5 ] ; [#uses=1] - %t9 = add i32 %t2, %t3 ; [#uses=2] - %t10 = add i32 %t9, %t8 ; [#uses=0] - %t11 = bitcast i32 12 to i32 ; [#uses=1] - %t12 = add i32 %t9, %t11 ; [#uses=1] - %t13 = add i32 %t12, %t3 ; [#uses=0] + %z8 = phi i32 [ %z1, %block4 ], [ %z7, %block5 ] ; [#uses=1] + %z9 = add i32 %z2, %z3 ; [#uses=2] + %z10 = add i32 %z9, %z8 ; [#uses=0] + %z11 = bitcast i32 12 to i32 ; [#uses=1] + %z12 = add i32 %z9, %z11 ; [#uses=1] + %z13 = add i32 %z12, %z3 ; [#uses=0] br label %block2 block7: ; preds = %block2 - ret i32 %t1 + ret i32 %z1 }