1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown | FileCheck %s
5 define i64 @t1(i64 %a) nounwind readnone {
7 ; CHECK: # %bb.0: # %entry
8 ; CHECK-NEXT: leaq (%rdi,%rdi,8), %rax
9 ; CHECK-NEXT: leaq (%rax,%rax,8), %rax
16 define i64 @t2(i64 %a) nounwind readnone {
18 ; CHECK: # %bb.0: # %entry
19 ; CHECK-NEXT: shlq $3, %rdi
20 ; CHECK-NEXT: leaq (%rdi,%rdi,4), %rax