new testcase
[oota-llvm.git] / test / CodeGen / X86 / lea-3.ll
1 ; RUN: llvm-as < %s | llc -march=x86-64 | grep 'leal (%rdi,%rdi,2), %eax'
2
3 define i32 @test(i32 %a) {
4         %tmp2 = mul i32 %a, 3           ; <i32> [#uses=1]
5         ret i32 %tmp2
6 }
7