1 ; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s
2 ; RUN: llc < %s -mtriple=x86_64-linux-gnux32 | FileCheck %s
3 ; RUN: llc < %s -mtriple=x86_64-nacl | FileCheck %s
4 ; RUN: llc < %s -mtriple=x86_64-win32 | FileCheck %s
6 ; CHECK: leaq (,[[A0:%rdi|%rcx]],4), %rax
7 define i64 @test2(i64 %a) {
9 %tmp3 = or i64 %tmp2, %a
13 ; CHECK: leal ([[A0]],[[A0]],2), %eax
14 define i32 @test(i32 %a) {
15 %tmp2 = mul i32 %a, 3 ; <i32> [#uses=1]
19 ; CHECK: leaq (,[[A0]],8), %rax
20 define i64 @test3(i64 %a) {