1 ; RUN: llc -O0 -mtriple=hexagon < %s | FileCheck %s
2 ; CHECK: r[[AP:[0-9]+]] = and(r30,#-32)
3 ; CHECK: sub(r29,r[[SP:[0-9]+]])
6 ; CHECK: r1 = add(r1,#-32)
8 target triple = "hexagon-unknown-unknown"
10 ; Function Attrs: nounwind uwtable
11 define void @foo(i32 %n) #0 {
13 %x = alloca i32, i32 %n
14 %y = alloca i32, align 32
15 call void @bar(ptr %x, ptr %y)
19 declare void @bar(ptr, ptr %y) #0
21 attributes #0 = { nounwind }