Update old-style syntax in some "not grep" tests.
authorDan Gohman <gohman@apple.com>
Thu, 1 May 2008 23:50:07 +0000 (23:50 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 1 May 2008 23:50:07 +0000 (23:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50560 91177308-0d34-0410-b5e6-96231b3b80d8

16 files changed:
test/CFrontend/2004-11-27-StaticFunctionRedeclare.c
test/Linker/2003-05-31-LinkerRename.ll
test/Transforms/ArgumentPromotion/control-flow.ll
test/Transforms/DeadStoreElimination/2004-11-28-LiveStoreDeleted.ll
test/Transforms/IndVarsSimplify/2003-12-21-IndVarSize.ll
test/Transforms/Inline/inline_dce.ll
test/Transforms/InstCombine/2004-09-20-BadLoadCombine2.ll
test/Transforms/InstCombine/bittest.ll
test/Transforms/InstCombine/setcc-cast-cast.ll
test/Transforms/LoopStrengthReduce/dont-hoist-simple-loop-constants.ll
test/Transforms/SimplifyCFG/2003-08-17-BranchFold.ll
test/Transforms/SimplifyCFG/2003-08-17-BranchFoldOrdering.ll
test/Transforms/SimplifyCFG/branch-phi-thread.ll
test/Transforms/SimplifyCFG/switch_thread.ll
test/Transforms/SimplifyLibCalls/FFS.ll
test/Transforms/SimplifyLibCalls/StrChr.ll

index ef121224253278c2d07a93e8d0ddea9fe3fdb3e6..b1e14212732e8482c62ad9a1f56c86ddb07fc5dd 100644 (file)
@@ -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 
index 3e8b2c81bd60a1944d981d31d2a8bf4197ff8385..c3661ae9aa3b222d934c2ba2fd6c1275163c00cc 100644 (file)
@@ -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() 
 
index bb72e08b170a65cdab6adae3bb5c4687b6ceb76c..76e8fd95030eb8c99a0beb21f807336371155b31 100644 (file)
@@ -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
index 660c74fd1c0ec724aafacd2ad94b68fbcac2f480..54fa078a591620fe5dcc642bdf0257acc9f5bbe8 100644 (file)
@@ -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]
index a0ddd418f2ccc127e35fb8d8e69404760b2536dc..cf8c80472dfedb551846cfbe9b9eb8bec621da56 100644 (file)
@@ -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]
 
index b48a9a79e7afaebbc6797deb3d47c456f0a4db56..dd971bee9300d7129e3a470b8d58cc1c09cf4153 100644 (file)
@@ -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
index 3585659452b8f0287bc9edfda664832879d595a0..b89bd228403ea30286910b6f9aa418af67224861 100644 (file)
@@ -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.
index ad4f2363e008618c3b41c16b7e2bd155e4f65023..8d45a48aa91d827b327b42c98051830a3a2a773d 100644 (file)
@@ -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]
 
index 844d4c8eae1b946a5edcf32e7ca5f606634ae318..ed2e2bee551e5ffa8ada604425065bfd2fa84f6e 100644 (file)
@@ -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) {
index 56773ac98457665ff7d82df21635eccc0d9c7371..52095070ae0aefc1fdfe899193453386423d6541 100644 (file)
@@ -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.
index d1de65c15614069323f0ca0805169dc8f7d27122..ea74692d05f765cb5a0943377d472a8d86441127 100644 (file)
@@ -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()
 
index 7564cfac63a527890495de2829b36fbbca7f089a..a307573d3d338140c9d14d56a22decfaabc501b7 100644 (file)
@@ -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()
 
index abad19cd00c2849fc50574e4f683145f5455db86..c536b6c88716b0602aff02d304c6c1cd5ff49209 100644 (file)
@@ -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()
index bf9c90d89241ba169092fc34c506d3ea32d93c66..a92528a3331f2274f13bc24c2baa86ad06fb5463 100644 (file)
@@ -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.
 
index 94228f0266f76feb96c8f615f761600dd262303d..bdf43ef69f7a52d5fe022b3a85c39b88fa1384bb 100644 (file)
@@ -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]
 
index f526db4930fe8f20cd48ed6bff0282173b754be4..802639f723208e690132aa5c64489fc9ca653bc9 100644 (file)
@@ -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]