Merging r261039:
[oota-llvm.git] / test / CodeGen / X86 / imul-lea.ll
1 ; RUN: llc < %s -march=x86 | FileCheck %s
2
3 declare i32 @foo()
4
5 define i32 @test() {
6   %tmp.0 = tail call i32 @foo( )
7   %tmp.1 = mul i32 %tmp.0, 9
8 ; CHECK-NOT: mul
9 ; CHECK: lea
10   ret i32 %tmp.1
11 }
12