1 ; RUN: llc < %s -mtriple=x86_64-pc-linux -enable-misched=false | FileCheck %s
2 ; RUN: llc < %s -mtriple=x86_64-pc-linux-gnux32 -enable-misched=false | FileCheck %s -check-prefix=X32ABI
4 declare void @bar(<2 x i64>* %n)
6 define void @foo(i64 %h) {
7 %p = alloca <2 x i64>, i64 %h
8 call void @bar(<2 x i64>* %p)
11 ; CHECK-NOT: andq $-32, %rax
13 ; X32ABI-NOT: andl $-32, %eax
16 define void @foo2(i64 %h) {
17 %p = alloca <2 x i64>, i64 %h, align 32
18 call void @bar(<2 x i64>* %p)
21 ; CHECK: andq $-32, %rsp
22 ; CHECK: andq $-32, %rax
24 ; X32ABI: andl $-32, %esp
25 ; X32ABI: andl $-32, %eax
28 define void @foo3(i64 %h) {
29 %p = alloca <2 x i64>, i64 %h
32 ; CHECK: movq %rbp, %rsp
34 ; X32ABI: movl %ebp, %esp