aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/shift-one.ll
blob: a91cbbc50300af0a10be1f173f233f580c7ae3ef (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
}