diff options
author | Dan Gohman <gohman@apple.com> | 2008-05-01 23:50:07 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-05-01 23:50:07 +0000 |
commit | 2cdcf2bd5fbb2faa8f187627c959feedad1a4f2d (patch) | |
tree | 5f6164cac83ef1d765587d2007a4af2bf84f9c0c /llvm/test/Transforms | |
parent | 752ce50b2d30bf4e4905f19291241c6b096260a2 (diff) | |
download | bcm5719-llvm-2cdcf2bd5fbb2faa8f187627c959feedad1a4f2d.tar.gz bcm5719-llvm-2cdcf2bd5fbb2faa8f187627c959feedad1a4f2d.zip |
Update old-style syntax in some "not grep" tests.
llvm-svn: 50560
Diffstat (limited to 'llvm/test/Transforms')
14 files changed, 14 insertions, 14 deletions
diff --git a/llvm/test/Transforms/ArgumentPromotion/control-flow.ll b/llvm/test/Transforms/ArgumentPromotion/control-flow.ll index bb72e08b170..76e8fd95030 100644 --- a/llvm/test/Transforms/ArgumentPromotion/control-flow.ll +++ b/llvm/test/Transforms/ArgumentPromotion/control-flow.ll @@ -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 diff --git a/llvm/test/Transforms/DeadStoreElimination/2004-11-28-LiveStoreDeleted.ll b/llvm/test/Transforms/DeadStoreElimination/2004-11-28-LiveStoreDeleted.ll index 660c74fd1c0..54fa078a591 100644 --- a/llvm/test/Transforms/DeadStoreElimination/2004-11-28-LiveStoreDeleted.ll +++ b/llvm/test/Transforms/DeadStoreElimination/2004-11-28-LiveStoreDeleted.ll @@ -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] diff --git a/llvm/test/Transforms/IndVarsSimplify/2003-12-21-IndVarSize.ll b/llvm/test/Transforms/IndVarsSimplify/2003-12-21-IndVarSize.ll index a0ddd418f2c..cf8c80472df 100644 --- a/llvm/test/Transforms/IndVarsSimplify/2003-12-21-IndVarSize.ll +++ b/llvm/test/Transforms/IndVarsSimplify/2003-12-21-IndVarSize.ll @@ -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] diff --git a/llvm/test/Transforms/Inline/inline_dce.ll b/llvm/test/Transforms/Inline/inline_dce.ll index b48a9a79e7a..dd971bee930 100644 --- a/llvm/test/Transforms/Inline/inline_dce.ll +++ b/llvm/test/Transforms/Inline/inline_dce.ll @@ -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 diff --git a/llvm/test/Transforms/InstCombine/2004-09-20-BadLoadCombine2.ll b/llvm/test/Transforms/InstCombine/2004-09-20-BadLoadCombine2.ll index 3585659452b..b89bd228403 100644 --- a/llvm/test/Transforms/InstCombine/2004-09-20-BadLoadCombine2.ll +++ b/llvm/test/Transforms/InstCombine/2004-09-20-BadLoadCombine2.ll @@ -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. diff --git a/llvm/test/Transforms/InstCombine/bittest.ll b/llvm/test/Transforms/InstCombine/bittest.ll index ad4f2363e00..8d45a48aa91 100644 --- a/llvm/test/Transforms/InstCombine/bittest.ll +++ b/llvm/test/Transforms/InstCombine/bittest.ll @@ -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] diff --git a/llvm/test/Transforms/InstCombine/setcc-cast-cast.ll b/llvm/test/Transforms/InstCombine/setcc-cast-cast.ll index 844d4c8eae1..ed2e2bee551 100644 --- a/llvm/test/Transforms/InstCombine/setcc-cast-cast.ll +++ b/llvm/test/Transforms/InstCombine/setcc-cast-cast.ll @@ -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) { diff --git a/llvm/test/Transforms/LoopStrengthReduce/dont-hoist-simple-loop-constants.ll b/llvm/test/Transforms/LoopStrengthReduce/dont-hoist-simple-loop-constants.ll index 56773ac9845..52095070ae0 100644 --- a/llvm/test/Transforms/LoopStrengthReduce/dont-hoist-simple-loop-constants.ll +++ b/llvm/test/Transforms/LoopStrengthReduce/dont-hoist-simple-loop-constants.ll @@ -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. diff --git a/llvm/test/Transforms/SimplifyCFG/2003-08-17-BranchFold.ll b/llvm/test/Transforms/SimplifyCFG/2003-08-17-BranchFold.ll index d1de65c1561..ea74692d05f 100644 --- a/llvm/test/Transforms/SimplifyCFG/2003-08-17-BranchFold.ll +++ b/llvm/test/Transforms/SimplifyCFG/2003-08-17-BranchFold.ll @@ -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() diff --git a/llvm/test/Transforms/SimplifyCFG/2003-08-17-BranchFoldOrdering.ll b/llvm/test/Transforms/SimplifyCFG/2003-08-17-BranchFoldOrdering.ll index 7564cfac63a..a307573d3d3 100644 --- a/llvm/test/Transforms/SimplifyCFG/2003-08-17-BranchFoldOrdering.ll +++ b/llvm/test/Transforms/SimplifyCFG/2003-08-17-BranchFoldOrdering.ll @@ -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() diff --git a/llvm/test/Transforms/SimplifyCFG/branch-phi-thread.ll b/llvm/test/Transforms/SimplifyCFG/branch-phi-thread.ll index abad19cd00c..c536b6c8871 100644 --- a/llvm/test/Transforms/SimplifyCFG/branch-phi-thread.ll +++ b/llvm/test/Transforms/SimplifyCFG/branch-phi-thread.ll @@ -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() diff --git a/llvm/test/Transforms/SimplifyCFG/switch_thread.ll b/llvm/test/Transforms/SimplifyCFG/switch_thread.ll index bf9c90d8924..a92528a3331 100644 --- a/llvm/test/Transforms/SimplifyCFG/switch_thread.ll +++ b/llvm/test/Transforms/SimplifyCFG/switch_thread.ll @@ -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. diff --git a/llvm/test/Transforms/SimplifyLibCalls/FFS.ll b/llvm/test/Transforms/SimplifyLibCalls/FFS.ll index 94228f0266f..bdf43ef69f7 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/FFS.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/FFS.ll @@ -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] diff --git a/llvm/test/Transforms/SimplifyLibCalls/StrChr.ll b/llvm/test/Transforms/SimplifyLibCalls/StrChr.ll index f526db4930f..802639f7232 100644 --- a/llvm/test/Transforms/SimplifyLibCalls/StrChr.ll +++ b/llvm/test/Transforms/SimplifyLibCalls/StrChr.ll @@ -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] |