2012-05-16 00:13:12 +08:00
|
|
|
; RUN: llc -march=hexagon -mcpu=hexagonv4 < %s | FileCheck %s
|
2011-12-13 05:14:40 +08:00
|
|
|
; CHECK: r[[T0:[0-9]+]] = CONST32(#s2)
|
2014-12-30 04:44:51 +08:00
|
|
|
; CHECK: memw(r29+#0) = r{{.}}
|
2012-05-16 00:13:12 +08:00
|
|
|
; CHECK: memw(r29+#8) = r{{.}}
|
2011-12-13 05:14:40 +08:00
|
|
|
|
|
|
|
%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)
|