Home | History | Annotate | Download | only in Hexagon
      1 ; RUN: llc -O0 -march=hexagon < %s | FileCheck %s
      2 ; CHECK: sub(r29, r[[REG:[0-9]+]])
      3 ; CHECK: r29 = r[[REG]]
      4 
      5 target triple = "hexagon-unknown-unknown"
      6 
      7 ; Function Attrs: nounwind uwtable
      8 define void @foo(i32 %n) #0 {
      9 entry:
     10   %x = alloca i32, i32 %n
     11   %0 = bitcast i32* %x to i8*
     12   call void @bar(i8* %0)
     13   ret void
     14 }
     15 
     16 declare void @bar(i8*) #0
     17 
     18 attributes #0 = { nounwind }
     19