1 ; RUN: llc -march=hexagon < %s | FileCheck %s
2 ; CHECK-NOT: lsr{{.*}}#31
4 target datalayout = "e-m:e-p:32:32-i64:64-a:0-v32:32-n16:32"
5 target triple = "hexagon-unknown--elf"
7 ; Function Attrs: nounwind readnone
8 define i64 @foo(i64 %x) #0 {
10 %0 = tail call i64 @llvm.hexagon.S2.asr.i.p(i64 %x, i32 32)
14 ; Function Attrs: nounwind readnone
15 declare i64 @llvm.hexagon.S2.asr.i.p(i64, i32) #1
17 attributes #0 = { nounwind readnone "less-precise-fpmad"="false" "frame-pointer"="all" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" }
18 attributes #1 = { nounwind readnone }
22 !0 = !{!"Clang $LLVM_VERSION_MAJOR.$LLVM_VERSION_MINOR (based on LLVM 3.7.0)"}