aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/shift-one.ll
blob: 3108fba0f4dcf2ad4a88aa12173e962ad3f4e1be (plain)
1
2
3
4
5
6
7
8
9
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | not grep leal

%x = external global int

int %test() {
	%tmp.0 = load int* %x
	%tmp.1 = shl int %tmp.0, ubyte 1
	ret int %tmp.1
}