1; XFAIL: *
2; RUN: llc -march=hexagon < %s | FileCheck %s
3; CHECK: r[[T0:[0-9]+]] = CONST32(#s2)
4; CHECK: memw(r29+#0) = r{{.}}
5; CHECK: memw(r29+#8) = r{{.}}
6
7%struct.large = type { i64, i64 }
8
9@s2 = common global %struct.large zeroinitializer, align 8
10
11define void @foo() nounwind {
12entry:
13  call void @bar(%struct.large* byval @s2)
14  ret void
15}
16
17declare void @bar(%struct.large* byval)
18