mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-23 15:29:51 +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 {
|