llvm-6502/test/CodeGen/X86/lea-3.ll
Chris Lattner 01f45ca17b new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35432 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-28 18:03:14 +00:00

8 lines
185 B
LLVM

; RUN: llvm-as < %s | llc -march=x86-64 | grep 'leal (%rdi,%rdi,2), %eax'
define i32 @test(i32 %a) {
%tmp2 = mul i32 %a, 3 ; <i32> [#uses=1]
ret i32 %tmp2
}