From 07aeb629ecc2e6d736660c0f5e0bc273ef267215 Mon Sep 17 00:00:00 2001 From: Andrew Trick Date: Fri, 26 Aug 2011 20:09:48 +0000 Subject: [PATCH] Use %% for literals in RUN lines. llvm-svn: 138647 --- llvm/test/Linker/2003-01-30-LinkerTypeRename.ll | 6 +++--- llvm/test/Linker/2003-04-26-NullPtrLinkProblem.ll | 2 +- llvm/test/Linker/2003-06-02-TypeResolveProblem.ll | 2 +- llvm/test/Linker/2003-06-02-TypeResolveProblem2.ll | 2 +- llvm/test/Linker/2003-08-23-GlobalVarLinking.ll | 2 +- llvm/test/Linker/2003-11-18-TypeResolution.ll | 2 +- llvm/test/Transforms/ScalarRepl/2003-10-29-ArrayProblem.ll | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/llvm/test/Linker/2003-01-30-LinkerTypeRename.ll b/llvm/test/Linker/2003-01-30-LinkerTypeRename.ll index 6cd2406ecd3f..043457da3735 100644 --- a/llvm/test/Linker/2003-01-30-LinkerTypeRename.ll +++ b/llvm/test/Linker/2003-01-30-LinkerTypeRename.ll @@ -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} diff --git a/llvm/test/Linker/2003-04-26-NullPtrLinkProblem.ll b/llvm/test/Linker/2003-04-26-NullPtrLinkProblem.ll index 54ba05153f49..d23df1bb5912 100644 --- a/llvm/test/Linker/2003-04-26-NullPtrLinkProblem.ll +++ b/llvm/test/Linker/2003-04-26-NullPtrLinkProblem.ll @@ -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 diff --git a/llvm/test/Linker/2003-06-02-TypeResolveProblem.ll b/llvm/test/Linker/2003-06-02-TypeResolveProblem.ll index 86979f60d172..0b0e9c19087a 100644 --- a/llvm/test/Linker/2003-06-02-TypeResolveProblem.ll +++ b/llvm/test/Linker/2003-06-02-TypeResolveProblem.ll @@ -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 diff --git a/llvm/test/Linker/2003-06-02-TypeResolveProblem2.ll b/llvm/test/Linker/2003-06-02-TypeResolveProblem2.ll index 42cc0403ae77..3f9fd04ae340 100644 --- a/llvm/test/Linker/2003-06-02-TypeResolveProblem2.ll +++ b/llvm/test/Linker/2003-06-02-TypeResolveProblem2.ll @@ -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 diff --git a/llvm/test/Linker/2003-08-23-GlobalVarLinking.ll b/llvm/test/Linker/2003-08-23-GlobalVarLinking.ll index 8acbbd2fca2d..255cb88daf43 100644 --- a/llvm/test/Linker/2003-08-23-GlobalVarLinking.ll +++ b/llvm/test/Linker/2003-08-23-GlobalVarLinking.ll @@ -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 diff --git a/llvm/test/Linker/2003-11-18-TypeResolution.ll b/llvm/test/Linker/2003-11-18-TypeResolution.ll index d3152eda8e98..e7b15fa6b59f 100644 --- a/llvm/test/Linker/2003-11-18-TypeResolution.ll +++ b/llvm/test/Linker/2003-11-18-TypeResolution.ll @@ -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 diff --git a/llvm/test/Transforms/ScalarRepl/2003-10-29-ArrayProblem.ll b/llvm/test/Transforms/ScalarRepl/2003-10-29-ArrayProblem.ll index d75498716df0..00e43a79043d 100644 --- a/llvm/test/Transforms/ScalarRepl/2003-10-29-ArrayProblem.ll +++ b/llvm/test/Transforms/ScalarRepl/2003-10-29-ArrayProblem.ll @@ -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*)