Use %% for literals in RUN lines.
authorAndrew Trick <atrick@apple.com>
Fri, 26 Aug 2011 20:09:48 +0000 (20:09 +0000)
committerAndrew Trick <atrick@apple.com>
Fri, 26 Aug 2011 20:09:48 +0000 (20:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138647 91177308-0d34-0410-b5e6-96231b3b80d8

test/Linker/2003-01-30-LinkerTypeRename.ll
test/Linker/2003-04-26-NullPtrLinkProblem.ll
test/Linker/2003-06-02-TypeResolveProblem.ll
test/Linker/2003-06-02-TypeResolveProblem2.ll
test/Linker/2003-08-23-GlobalVarLinking.ll
test/Linker/2003-11-18-TypeResolution.ll
test/Transforms/ScalarRepl/2003-10-29-ArrayProblem.ll

index 6cd2406ecd3f9c40e44c7661623f7a0f733b2e8f..043457da3735f3b80245ac61f2e432fc79da7e51 100644 (file)
@@ -1,9 +1,9 @@
-; This fails because the linker renames the non-opaque type not the opaque 
+; This fails because the linker renames the non-opaque type not the opaque
 ; one...
 
-; RUN: echo {%Ty = type opaque @GV = external global %Ty*} | llvm-as > %t.1.bc
+; RUN: echo {%%Ty = type opaque @GV = external global %%Ty*} | llvm-as > %t.1.bc
 ; RUN: llvm-as < %s > %t.2.bc
-; RUN: llvm-link %t.1.bc %t.2.bc -S | grep {%Ty } | not grep opaque
+; RUN: llvm-link %t.1.bc %t.2.bc -S | grep {%%Ty } | not grep opaque
 
 %Ty = type {i32}
 
index 54ba05153f49e19f18e55a33da5dac743bab3a83..d23df1bb5912e2d69dd91cb29bd080d37cff0c96 100644 (file)
@@ -1,7 +1,7 @@
 ; This one fails because the LLVM runtime is allowing two null pointers of
 ; the same type to be created!
 
-; RUN: echo {%T = type i32} | llvm-as > %t.2.bc
+; RUN: echo {%%T = type i32} | llvm-as > %t.2.bc
 ; RUN: llvm-as %s -o %t.1.bc
 ; RUN: llvm-link %t.1.bc %t.2.bc
 
index 86979f60d1727209f631f7415394c6e6b197f35e..0b0e9c19087a1920850e33c5f2ac11b9e49e63ea 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: echo {%T = type opaque} | llvm-as > %t.2.bc
+; RUN: echo {%%T = type opaque} | llvm-as > %t.2.bc
 ; RUN: llvm-as < %s > %t.1.bc
 ; RUN: llvm-link %t.1.bc %t.2.bc
 
index 42cc0403ae770f95cc99c0b1d96d66aac98ba69b..3f9fd04ae34074221d240ea0c954efcb7393cd0f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: echo {%T = type i32} | llvm-as > %t.1.bc
+; RUN: echo {%%T = type i32} | llvm-as > %t.1.bc
 ; RUN: llvm-as < %s > %t.2.bc
 ; RUN: llvm-link %t.1.bc %t.2.bc
 
index 8acbbd2fca2d7a7c6610956ecb5788cd0b582382..255cb88daf43ce704b3b21ed49ababc3f94091a2 100644 (file)
@@ -1,5 +1,5 @@
 ; RUN: llvm-as < %s > %t.out1.bc
-; RUN: echo {%T1 = type opaque %T2 = type opaque @S = external global \{ i32, %T1* \} declare void @F(%T2*)}\
+; RUN: echo {%%T1 = type opaque %%T2 = type opaque @S = external global \{ i32, %%T1* \} declare void @F(%%T2*)}\
 ; RUN:   | llvm-as > %t.out2.bc
 ; RUN: llvm-link %t.out1.bc %t.out2.bc -S | not grep opaque
 
index d3152eda8e986a2bb883f183672756a2cebdcdcf..e7b15fa6b59f43cdf4985fe3480ce7112c63e73c 100644 (file)
@@ -5,7 +5,7 @@
 ; own.
 
 ; RUN: llvm-as < %s > %t.out2.bc
-; RUN: echo "%T1 = type opaque  @GVar = external global %T1*" | llvm-as > %t.out1.bc
+; RUN: echo "%%T1 = type opaque  @GVar = external global %%T1*" | llvm-as > %t.out1.bc
 ; RUN: llvm-link %t.out1.bc %t.out2.bc
 
 %T1 = type opaque
index d75498716df01555adce44562613cff99776ca9c..00e43a79043d00687001f28197e11e38a196a87c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -scalarrepl -S | grep {alloca %T}
+; RUN: opt < %s -scalarrepl -S | grep {alloca %%T}
 
 %T = type { [80 x i8], i32, i32 }
 declare i32 @.callback_1(i8*)