18 lines · plain
1; RUN: llc -O0 -mtriple=hexagon < %s | FileCheck %s2; CHECK: sub(r29,r[[REG:[0-9]+]])3; CHECK: r29 = r[[REG]]4 5target triple = "hexagon-unknown-unknown"6 7; Function Attrs: nounwind uwtable8define void @foo(i32 %n) #0 {9entry:10 %x = alloca i32, i32 %n11 call void @bar(ptr %x)12 ret void13}14 15declare void @bar(ptr) #016 17attributes #0 = { nounwind }18