blob: 69de4f66a92bb5ca5c2e9825fe596daac144b84e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
; RUN: true
; DISABLED: llc -march=hexagon -mcpu=hexagonv4 < %s | FileCheck %s
; CHECK: r[[T0:[0-9]+]] = CONST32(#s2)
; CHECK: r[[T1:[0-9]+]] = memw(r[[T0]] + #0)
; CHECK: memw(r29 + #0) = r[[T1]]
%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)
|