Home | History | Annotate | Download | only in Hexagon
      1 ; RUN: llc -march=hexagon < %s | FileCheck %s
      2 ; CHECK: r{{[0-9:]+}} = #0
      3 
      4 ; Function Attrs: nounwind readnone
      5 define i32 @f0() #0 {
      6 b0:
      7   %v0 = tail call i64 @llvm.hexagon.S2.extractup(i64 -1, i32 0, i32 1)
      8   %v1 = trunc i64 %v0 to i32
      9   ret i32 %v1
     10 }
     11 
     12 ; Function Attrs: nounwind readnone
     13 declare i64 @llvm.hexagon.S2.extractup(i64, i32, i32) #0
     14 
     15 attributes #0 = { nounwind readnone }
     16