summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/imul-lea.ll
blob: 9d6fd98e33fbf6ce35148346e54c396b8495b430 (plain)
1
2
3
4
5
6
7
8
; RUN: llvm-upgrade < %s | llvm-as | 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
}