1*9880d681SAndroid Build Coastguard Worker; RUN: llc -march=hexagon < %s | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker; CHECK-NOT: lsr{{.*}}#31 3*9880d681SAndroid Build Coastguard Worker 4*9880d681SAndroid Build Coastguard Workertarget datalayout = "e-m:e-p:32:32-i64:64-a:0-v32:32-n16:32" 5*9880d681SAndroid Build Coastguard Workertarget triple = "hexagon-unknown--elf" 6*9880d681SAndroid Build Coastguard Worker 7*9880d681SAndroid Build Coastguard Worker; Function Attrs: nounwind readnone 8*9880d681SAndroid Build Coastguard Workerdefine i64 @foo(i64 %x) #0 { 9*9880d681SAndroid Build Coastguard Workerentry: 10*9880d681SAndroid Build Coastguard Worker %0 = tail call i64 @llvm.hexagon.S2.asr.i.p(i64 %x, i32 32) 11*9880d681SAndroid Build Coastguard Worker ret i64 %0 12*9880d681SAndroid Build Coastguard Worker} 13*9880d681SAndroid Build Coastguard Worker 14*9880d681SAndroid Build Coastguard Worker; Function Attrs: nounwind readnone 15*9880d681SAndroid Build Coastguard Workerdeclare i64 @llvm.hexagon.S2.asr.i.p(i64, i32) #1 16*9880d681SAndroid Build Coastguard Worker 17*9880d681SAndroid Build Coastguard Workerattributes #0 = { nounwind readnone "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" } 18*9880d681SAndroid Build Coastguard Workerattributes #1 = { nounwind readnone } 19*9880d681SAndroid Build Coastguard Worker 20*9880d681SAndroid Build Coastguard Worker!llvm.ident = !{!0} 21*9880d681SAndroid Build Coastguard Worker 22*9880d681SAndroid Build Coastguard Worker!0 = !{!"Clang $LLVM_VERSION_MAJOR.$LLVM_VERSION_MINOR (based on LLVM 3.7.0)"} 23