mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-24 20:30:06 +00:00
3971df5203
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124209 91177308-0d34-0410-b5e6-96231b3b80d8
19 lines
655 B
LLVM
19 lines
655 B
LLVM
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
|
|
|
|
%struct.foobar = type { i32 }
|
|
|
|
@bar.d = internal unnamed_addr constant %struct.foobar zeroinitializer, align 4
|
|
@foo.d = internal constant %struct.foobar zeroinitializer, align 4
|
|
|
|
define i32 @main() unnamed_addr nounwind ssp {
|
|
entry:
|
|
%call2 = tail call i32 @zed(%struct.foobar* @foo.d, %struct.foobar* @bar.d) nounwind
|
|
ret i32 0
|
|
}
|
|
|
|
declare i32 @zed(%struct.foobar*, %struct.foobar*)
|
|
|
|
; CHECK: @bar.d = internal unnamed_addr constant %struct.foobar zeroinitializer, align 4
|
|
; CHECK: @foo.d = internal constant %struct.foobar zeroinitializer, align 4
|
|
; CHECK: define i32 @main() unnamed_addr nounwind ssp {
|