mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
7081e43d5c
llvm-svn: 156824
17 lines
395 B
LLVM
17 lines
395 B
LLVM
; RUN: llc -march=hexagon -mcpu=hexagonv4 < %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)
|