1 ; RUN: llc -O0 -march=hexagon < %s | FileCheck %s
2 ; CHECK: sub(r29,r[[REG:[0-9]+]])
3 ; CHECK: r29 = r[[REG]]
5 target triple = "hexagon-unknown-unknown"
7 ; Function Attrs: nounwind uwtable
8 define void @foo(i32 %n) #0 {
10 %x = alloca i32, i32 %n
11 call void @bar(ptr %x)
15 declare void @bar(ptr) #0
17 attributes #0 = { nounwind }