1; RUN: llc -march=hexagon < %s | FileCheck %s 2; Pick lsr (in bit-simplification) for extracting high halfword. 3; CHECK: lsr{{.*}}#16 4 5define i32 @foo(i32 %x) #0 { 6 %a = call i32 @llvm.hexagon.S2.extractu(i32 %x, i32 16, i32 16) 7 ret i32 %a 8} 9 10declare i32 @llvm.hexagon.S2.extractu(i32, i32, i32) #0 11 12attributes #0 = { nounwind readnone } 13 14