blob: fb4780b0e5a9276292b33c43edf62270cf5c2ce9 [file] [log] [blame]
Benjamin Kramere4dff622016-02-04 16:21:38 +00001; XFAIL: *
Colin LeMahieu2efa2d02015-03-09 21:48:13 +00002; RUN: llc -march=hexagon < %s | FileCheck %s
Tony Linthicum1213a7a2011-12-12 21:14:40 +00003; CHECK: r[[T0:[0-9]+]] = CONST32(#s2)
Colin LeMahieubda31b42014-12-29 20:44:51 +00004; CHECK: memw(r29+#0) = r{{.}}
Sirish Pande91856a12012-05-15 16:13:12 +00005; CHECK: memw(r29+#8) = r{{.}}
Tony Linthicum1213a7a2011-12-12 21:14:40 +00006
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)