summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/imul-lea.ll
blob: 6f2e3a986e7e4aa02eb4e2ad1ce07ba5ca8caa7c (plain)
1
2
3
4
5
6
7
8
; RUN: llvm-as < %s | llc -march=x86 | grep lea

declare int %foo()
int %test() {
	%tmp.0 = tail call int %foo( )		; <int> [#uses=1]
	%tmp.1 = mul int %tmp.0, 9		; <int> [#uses=1]
	ret int %tmp.1
}