1
; RUN: llc < %s -march=x86-64 | grep {movq 8(%rsp), %rax}
2
; RUN: llc < %s -march=x86 > %t
3
; RUN: grep {movl 8(%esp), %edx} %t
4
; RUN: grep {movl 4(%esp), %eax} %t
6
%struct.s = type { i64, i64, i64 }
8
define i64 @f(%struct.s* byval %a) {
10
%tmp2 = getelementptr %struct.s* %a, i32 0, i32 0
11
%tmp3 = load i64* %tmp2, align 8