mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-28 14:10:55 +00:00
Use %% for literals in RUN lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138647 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1af7f7291d
commit
6ca06cd8a8
@ -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}
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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*)
|
||||
|
Loading…
Reference in New Issue
Block a user