1 ; RUN: llc -march=hexagon < %s 2 ; REQUIRES: asserts 3 4 target triple = "hexagon-unknown--elf" 5 6 ; Function Attrs: nounwind readnone 7 define i64 @foo() #0 { 8 entry: 9 %0 = tail call i32 @llvm.hexagon.S2.ct0p(i64 18) 10 %1 = tail call i32 @llvm.hexagon.S2.ct1p(i64 27) 11 %2 = tail call i64 @llvm.hexagon.A2.combinew(i32 %0, i32 %1) 12 ret i64 %2 13 } 14 15 ; Function Attrs: nounwind readnone 16 declare i32 @llvm.hexagon.S2.ct0p(i64) #0 17 18 ; Function Attrs: nounwind readnone 19 declare i32 @llvm.hexagon.S2.ct1p(i64) #0 20 21 ; Function Attrs: nounwind readnone 22 declare i64 @llvm.hexagon.A2.combinew(i32, i32) #0 23 24 attributes #0 = { nounwind readnone } 25 26