[llvm-commits] [llvm] r50560 - in /llvm/trunk/test: CFrontend/ Linker/ Transforms/ArgumentPromotion/ Transforms/DeadStoreElimination/ Transforms/IndVarsSimplify/ Transforms/Inline/ Transforms/InstCombine/ Transforms/LoopStrengthReduce/ Transforms/SimplifyCFG/ Transforms/SimplifyLibCalls/
Dan Gohman
gohman at apple.com
Thu May 1 16:50:08 PDT 2008
Author: djg
Date: Thu May 1 18:50:07 2008
New Revision: 50560
URL: http://llvm.org/viewvc/llvm-project?rev=50560&view=rev
Log:
Update old-style syntax in some "not grep" tests.
Modified:
llvm/trunk/test/CFrontend/2004-11-27-StaticFunctionRedeclare.c
llvm/trunk/test/Linker/2003-05-31-LinkerRename.ll
llvm/trunk/test/Transforms/ArgumentPromotion/control-flow.ll
llvm/trunk/test/Transforms/DeadStoreElimination/2004-11-28-LiveStoreDeleted.ll
llvm/trunk/test/Transforms/IndVarsSimplify/2003-12-21-IndVarSize.ll
llvm/trunk/test/Transforms/Inline/inline_dce.ll
llvm/trunk/test/Transforms/InstCombine/2004-09-20-BadLoadCombine2.ll
llvm/trunk/test/Transforms/InstCombine/bittest.ll
llvm/trunk/test/Transforms/InstCombine/setcc-cast-cast.ll
llvm/trunk/test/Transforms/LoopStrengthReduce/dont-hoist-simple-loop-constants.ll
llvm/trunk/test/Transforms/SimplifyCFG/2003-08-17-BranchFold.ll
llvm/trunk/test/Transforms/SimplifyCFG/2003-08-17-BranchFoldOrdering.ll
llvm/trunk/test/Transforms/SimplifyCFG/branch-phi-thread.ll
llvm/trunk/test/Transforms/SimplifyCFG/switch_thread.ll
llvm/trunk/test/Transforms/SimplifyLibCalls/FFS.ll
llvm/trunk/test/Transforms/SimplifyLibCalls/StrChr.ll
Modified: llvm/trunk/test/CFrontend/2004-11-27-StaticFunctionRedeclare.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CFrontend/2004-11-27-StaticFunctionRedeclare.c?rev=50560&r1=50559&r2=50560&view=diff
==============================================================================
--- llvm/trunk/test/CFrontend/2004-11-27-StaticFunctionRedeclare.c (original)
+++ llvm/trunk/test/CFrontend/2004-11-27-StaticFunctionRedeclare.c Thu May 1 18:50:07 2008
@@ -1,5 +1,5 @@
// RUN: %llvmgcc -c -emit-llvm %s -o - | \
-// RUN: opt -std-compile-opts | llvm-dis | not grep {declare int.*func}
+// RUN: opt -std-compile-opts | llvm-dis | not grep {declare i32.*func}
// There should not be an unresolved reference to func here. Believe it or not,
// the "expected result" is a function named 'func' which is internal and
Modified: llvm/trunk/test/Linker/2003-05-31-LinkerRename.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Linker/2003-05-31-LinkerRename.ll?rev=50560&r1=50559&r2=50560&view=diff
==============================================================================
--- llvm/trunk/test/Linker/2003-05-31-LinkerRename.ll (original)
+++ llvm/trunk/test/Linker/2003-05-31-LinkerRename.ll Thu May 1 18:50:07 2008
@@ -6,7 +6,7 @@
; RUN: echo { define internal i32 @foo() \{ ret i32 7 \} } | llvm-as > %t.1.bc
; RUN: llvm-as < %s > %t.2.bc
-; RUN: llvm-link %t.1.bc %t.2.bc | llvm-dis | grep internal | not grep %foo(
+; RUN: llvm-link %t.1.bc %t.2.bc | llvm-dis | grep internal | not grep @foo(
declare i32 @foo()
Modified: llvm/trunk/test/Transforms/ArgumentPromotion/control-flow.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/ArgumentPromotion/control-flow.ll?rev=50560&r1=50559&r2=50560&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/ArgumentPromotion/control-flow.ll (original)
+++ llvm/trunk/test/Transforms/ArgumentPromotion/control-flow.ll Thu May 1 18:50:07 2008
@@ -1,5 +1,5 @@
; RUN: llvm-as < %s | opt -argpromotion | llvm-dis | \
-; RUN: not grep {load int\* null}
+; RUN: not grep {load i32\* null}
define internal i32 @callee(i1 %C, i32* %P) {
br i1 %C, label %T, label %F
Modified: llvm/trunk/test/Transforms/DeadStoreElimination/2004-11-28-LiveStoreDeleted.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/DeadStoreElimination/2004-11-28-LiveStoreDeleted.ll?rev=50560&r1=50559&r2=50560&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/DeadStoreElimination/2004-11-28-LiveStoreDeleted.ll (original)
+++ llvm/trunk/test/Transforms/DeadStoreElimination/2004-11-28-LiveStoreDeleted.ll Thu May 1 18:50:07 2008
@@ -1,5 +1,5 @@
; RUN: llvm-as < %s | opt -dse -scalarrepl -instcombine | \
-; RUN: llvm-dis | not grep {ret int undef}
+; RUN: llvm-dis | not grep {ret i32 undef}
define i32 @test(double %__x) {
%__u = alloca { [3 x i32] } ; <{ [3 x i32] }*> [#uses=2]
Modified: llvm/trunk/test/Transforms/IndVarsSimplify/2003-12-21-IndVarSize.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/IndVarsSimplify/2003-12-21-IndVarSize.ll?rev=50560&r1=50559&r2=50560&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/IndVarsSimplify/2003-12-21-IndVarSize.ll (original)
+++ llvm/trunk/test/Transforms/IndVarsSimplify/2003-12-21-IndVarSize.ll Thu May 1 18:50:07 2008
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -indvars | llvm-dis | grep indvar | not grep uint
+; RUN: llvm-as < %s | opt -indvars | llvm-dis | grep indvar | not grep i32
@G = global i64 0 ; <i64*> [#uses=1]
Modified: llvm/trunk/test/Transforms/Inline/inline_dce.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/Inline/inline_dce.ll?rev=50560&r1=50559&r2=50560&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/Inline/inline_dce.ll (original)
+++ llvm/trunk/test/Transforms/Inline/inline_dce.ll Thu May 1 18:50:07 2008
@@ -2,7 +2,7 @@
; inlined into all of their callers.
; RUN: llvm-as < %s | opt -inline | llvm-dis | \
-; RUN: not grep %reallysmall
+; RUN: not grep @reallysmall
define internal i32 @reallysmall(i32 %A) {
ret i32 %A
Modified: llvm/trunk/test/Transforms/InstCombine/2004-09-20-BadLoadCombine2.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/2004-09-20-BadLoadCombine2.ll?rev=50560&r1=50559&r2=50560&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/InstCombine/2004-09-20-BadLoadCombine2.ll (original)
+++ llvm/trunk/test/Transforms/InstCombine/2004-09-20-BadLoadCombine2.ll Thu May 1 18:50:07 2008
@@ -1,5 +1,5 @@
; RUN: llvm-as < %s | opt -instcombine -mem2reg -simplifycfg | \
-; RUN: llvm-dis | grep -v store | not grep {int 1}
+; RUN: llvm-dis | grep -v store | not grep {i32 1}
; Test to make sure that instcombine does not accidentally propagate the load
; into the PHI, which would break the program.
Modified: llvm/trunk/test/Transforms/InstCombine/bittest.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/bittest.ll?rev=50560&r1=50559&r2=50560&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/InstCombine/bittest.ll (original)
+++ llvm/trunk/test/Transforms/InstCombine/bittest.ll Thu May 1 18:50:07 2008
@@ -1,5 +1,5 @@
; RUN: llvm-as < %s | opt -instcombine -simplifycfg | llvm-dis |\
-; RUN: not grep {call void %abort}
+; RUN: not grep {call void @abort}
@b_rec.0 = external global i32 ; <i32*> [#uses=2]
Modified: llvm/trunk/test/Transforms/InstCombine/setcc-cast-cast.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/setcc-cast-cast.ll?rev=50560&r1=50559&r2=50560&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/InstCombine/setcc-cast-cast.ll (original)
+++ llvm/trunk/test/Transforms/InstCombine/setcc-cast-cast.ll Thu May 1 18:50:07 2008
@@ -2,7 +2,7 @@
; that folding doesn't happen in case a zext is applied where a sext should have
; been when a setcc is used with two casts.
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
-; RUN: not grep {br bool false}
+; RUN: not grep {br i1 false}
; END.
define i32 @bug(i8 %inbuff) {
Modified: llvm/trunk/test/Transforms/LoopStrengthReduce/dont-hoist-simple-loop-constants.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LoopStrengthReduce/dont-hoist-simple-loop-constants.ll?rev=50560&r1=50559&r2=50560&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/LoopStrengthReduce/dont-hoist-simple-loop-constants.ll (original)
+++ llvm/trunk/test/Transforms/LoopStrengthReduce/dont-hoist-simple-loop-constants.ll Thu May 1 18:50:07 2008
@@ -1,5 +1,5 @@
; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | \
-; RUN: not grep {cast uint 1 to uint}
+; RUN: not grep {bitcast i32 1 to i32}
; END.
; The setlt wants to use a value that is incremented one more than the dominant
; IV. Don't insert the 1 outside the loop, preventing folding it into the add.
Modified: llvm/trunk/test/Transforms/SimplifyCFG/2003-08-17-BranchFold.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SimplifyCFG/2003-08-17-BranchFold.ll?rev=50560&r1=50559&r2=50560&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/SimplifyCFG/2003-08-17-BranchFold.ll (original)
+++ llvm/trunk/test/Transforms/SimplifyCFG/2003-08-17-BranchFold.ll Thu May 1 18:50:07 2008
@@ -2,7 +2,7 @@
; 'br Dest'
; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | \
-; RUN: not grep {br bool %c2}
+; RUN: not grep {br i1 %c2}
declare void @noop()
Modified: llvm/trunk/test/Transforms/SimplifyCFG/2003-08-17-BranchFoldOrdering.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SimplifyCFG/2003-08-17-BranchFoldOrdering.ll?rev=50560&r1=50559&r2=50560&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/SimplifyCFG/2003-08-17-BranchFoldOrdering.ll (original)
+++ llvm/trunk/test/Transforms/SimplifyCFG/2003-08-17-BranchFoldOrdering.ll Thu May 1 18:50:07 2008
@@ -4,7 +4,7 @@
; the ConstantFoldTerminator function.
; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | \
-; RUN: not grep {br bool %c2}
+; RUN: not grep {br i1 %c2}
declare void @noop()
Modified: llvm/trunk/test/Transforms/SimplifyCFG/branch-phi-thread.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SimplifyCFG/branch-phi-thread.ll?rev=50560&r1=50559&r2=50560&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/SimplifyCFG/branch-phi-thread.ll (original)
+++ llvm/trunk/test/Transforms/SimplifyCFG/branch-phi-thread.ll Thu May 1 18:50:07 2008
@@ -1,5 +1,5 @@
; RUN: llvm-as < %s | opt -simplifycfg -adce | llvm-dis | \
-; RUN: not grep {call void %f1}
+; RUN: not grep {call void @f1}
; END.
declare void @f1()
Modified: llvm/trunk/test/Transforms/SimplifyCFG/switch_thread.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SimplifyCFG/switch_thread.ll?rev=50560&r1=50559&r2=50560&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/SimplifyCFG/switch_thread.ll (original)
+++ llvm/trunk/test/Transforms/SimplifyCFG/switch_thread.ll Thu May 1 18:50:07 2008
@@ -1,5 +1,5 @@
; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | \
-; RUN: not grep {call void %DEAD}
+; RUN: not grep {call void @DEAD}
; Test that we can thread a simple known condition through switch statements.
Modified: llvm/trunk/test/Transforms/SimplifyLibCalls/FFS.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SimplifyLibCalls/FFS.ll?rev=50560&r1=50559&r2=50560&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/SimplifyLibCalls/FFS.ll (original)
+++ llvm/trunk/test/Transforms/SimplifyLibCalls/FFS.ll Thu May 1 18:50:07 2008
@@ -1,6 +1,6 @@
; Test that the ToAsciiOptimizer works correctly
; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | \
-; RUN: not grep {call.*%ffs}
+; RUN: not grep {call.*@ffs}
@non_const = external global i32 ; <i32*> [#uses=1]
Modified: llvm/trunk/test/Transforms/SimplifyLibCalls/StrChr.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SimplifyLibCalls/StrChr.ll?rev=50560&r1=50559&r2=50560&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/SimplifyLibCalls/StrChr.ll (original)
+++ llvm/trunk/test/Transforms/SimplifyLibCalls/StrChr.ll Thu May 1 18:50:07 2008
@@ -1,6 +1,6 @@
; Test that the StrChrOptimizer works correctly
; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | \
-; RUN: not grep {call.*%strchr}
+; RUN: not grep {call.*@strchr}
@hello = constant [14 x i8] c"hello world\5Cn\00" ; <[14 x i8]*> [#uses=1]
@null = constant [1 x i8] zeroinitializer ; <[1 x i8]*> [#uses=1]
More information about the llvm-commits
mailing list