summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/fast-isel-shift-imm.ll
blob: 7d8c9f5e002c57fe4dd4a640b2b86e4fc49c5a82 (plain)
1
2
3
4
5
6
7
; RUN: llvm-as < %s | llc -march=x86 -O0 | grep {sarl	\$80, %eax}
; PR3242

define i32 @foo(i32 %x) nounwind {
  %y = ashr i32 %x, 50000
  ret i32 %y
}
OpenPOWER on IntegriCloud