blob: f09fd10cc84d1b5ee44a3f62e354a49d4ec8477a [file] [log] [blame]
; 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)