mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 00:11:00 +00:00
ffc2de43d9
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231710 91177308-0d34-0410-b5e6-96231b3b80d8
18 lines
386 B
LLVM
18 lines
386 B
LLVM
; XFAIL:
|
|
; RUN: llc -march=hexagon < %s | FileCheck %s
|
|
; CHECK: r[[T0:[0-9]+]] = CONST32(#s2)
|
|
; CHECK: memw(r29+#0) = r{{.}}
|
|
; CHECK: memw(r29+#8) = r{{.}}
|
|
|
|
%struct.large = type { i64, i64 }
|
|
|
|
@s2 = common global %struct.large zeroinitializer, align 8
|
|
|
|
define void @foo() nounwind {
|
|
entry:
|
|
call void @bar(%struct.large* byval @s2)
|
|
ret void
|
|
}
|
|
|
|
declare void @bar(%struct.large* byval)
|