aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/shift-one.ll
blob: 07449e45a61cdf6194edc190a34136dc3cade093 (plain)
1
2
3
4
5
6
7
8
9
; RUN: llvm-as < %s | 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
}