Rename %S metavar to %M (clang uses %S for the basename of the test file).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81087 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar 2009-09-05 12:38:35 +00:00
parent 1f33167b31
commit a3f89829f3
7 changed files with 23 additions and 23 deletions

View File

@ -1,10 +1,10 @@
; This one fails because the LLVM runtime is allowing two null pointers of
; the same type to be created!
; RUN: echo {%S = type \{ %T*\} %T = type opaque} | llvm-as > %t.2.bc
; RUN: echo {%M = type \{ %N*\} %N = type opaque} | llvm-as > %t.2.bc
; RUN: llvm-as < %s > %t.1.bc
; RUN: llvm-link %t.1.bc %t.2.bc
%S = type { i32* }
%T = type i32
%M = type { i32* }
%N = type i32

View File

@ -1,8 +1,8 @@
; RUN: llvm-as < %s > %t.out1.bc
; RUN: echo {%S = type \{ i32, i32* \} } | llvm-as > %t.out2.bc
; RUN: echo {%M = type \{ i32, i32* \} } | llvm-as > %t.out2.bc
; RUN: llvm-link %t.out1.bc %t.out2.bc
%S = type { i32, %T* }
%T = type opaque
%M = type { i32, %N* }
%N = type opaque
;%X = global { int, %T* } { int 5, %T* null }
;%X = global { int, %N* } { int 5, %N* null }

View File

@ -2,8 +2,8 @@
; net.
; RUN: llvm-as < %s > %t.out1.bc
; RUN: echo "%S = type { %S*, i32* }" | llvm-as > %t.out2.bc
; RUN: echo "%M = type { %M*, i32* }" | llvm-as > %t.out2.bc
; RUN: llvm-link %t.out1.bc %t.out2.bc
%S = type { %S*, opaque* }
%M = type { %M*, opaque* }

View File

@ -1,12 +1,12 @@
; RUN: llvm-as < %s > %t.out1.bc
; RUN: echo "%S = type i32" | llvm-as > %t.out2.bc
; RUN: echo "%M = type i32" | llvm-as > %t.out2.bc
; RUN: llvm-link %t.out2.bc %t.out1.bc
%S = type opaque
%M = type opaque
define void @foo(i32* %V) {
ret void
}
declare void @foo.upgrd.1(%S*)
declare void @foo.upgrd.1(%M*)

View File

@ -1,17 +1,17 @@
; RUN: llvm-as < %s > %t.out1.bc
; RUN: echo "%S = type i32" | llvm-as > %t.out2.bc
; RUN: echo "%M = type i32" | llvm-as > %t.out2.bc
; RUN: llvm-link %t.out2.bc %t.out1.bc
%S = type opaque
%M = type opaque
define void @foo(i32* %V) {
ret void
}
declare void @foo.upgrd.1(%S*)
declare void @foo.upgrd.1(%M*)
define void @other() {
call void @foo.upgrd.1( %S* null )
call void @foo.upgrd.1( %M* null )
call void @foo( i32* null )
ret void
}

View File

@ -1,15 +1,15 @@
; RUN: llvm-as < %s > %t.out1.bc
; RUN: echo "%S = type i32" | llvm-as > %t.out2.bc
; RUN: echo "%M = type i32" | llvm-as > %t.out2.bc
; RUN: llvm-link %t.out2.bc %t.out1.bc
%S = type opaque
%M = type opaque
; GLobal using the resolved function prototype
global void (%S*)* @foo ; <void (%S*)**>:0 [#uses=0]
global void (%M*)* @foo ; <void (%M*)**>:0 [#uses=0]
define void @foo.upgrd.1(i32* %V) {
ret void
}
declare void @foo(%S*)
declare void @foo(%M*)

View File

@ -1,6 +1,6 @@
; RUN: llvm-as < %s > %t.out1.bc
; RUN: echo { %S = type \[8 x i32\] external global %S } | llvm-as > %t.out2.bc
; RUN: llvm-link %t.out1.bc %t.out2.bc | llvm-dis | grep %S | grep \\{
%S = type { i32 }
; RUN: echo { %M = type \[8 x i32\] external global %M } | llvm-as > %t.out2.bc
; RUN: llvm-link %t.out1.bc %t.out2.bc | llvm-dis | grep %M | grep \\{
%M = type { i32 }