blob: db87d9e81db17183e5d636bd9d4deb0934577db4 [file] [log] [blame]
Sirish Pande91856a12012-05-15 16:13:12 +00001; RUN: llc -march=hexagon -mcpu=hexagonv4 < %s | FileCheck %s
Tony Linthicum1213a7a2011-12-12 21:14:40 +00002; CHECK: r[[T0:[0-9]+]] = CONST32(#s2)
Colin LeMahieubda31b42014-12-29 20:44:51 +00003; CHECK: memw(r29+#0) = r{{.}}
Sirish Pande91856a12012-05-15 16:13:12 +00004; CHECK: memw(r29+#8) = r{{.}}
Tony Linthicum1213a7a2011-12-12 21:14:40 +00005
6%struct.large = type { i64, i64 }
7
8@s2 = common global %struct.large zeroinitializer, align 8
9
10define void @foo() nounwind {
11entry:
12 call void @bar(%struct.large* byval @s2)
13 ret void
14}
15
16declare void @bar(%struct.large* byval)