3108fba0f4dcf2ad4a88aa12173e962ad3f4e1be
[oota-llvm.git] / test / CodeGen / X86 / shift-one.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | not grep leal
2
3 %x = external global int
4
5 int %test() {
6         %tmp.0 = load int* %x
7         %tmp.1 = shl int %tmp.0, ubyte 1
8         ret int %tmp.1
9 }