llvm.org GIT mirror llvm / 211f53a
Revert r134366 and add an explicit triple to make this test host-independent. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134447 91177308-0d34-0410-b5e6-96231b3b80d8 Dan Gohman 8 years ago
1 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
None ; RUN: llc -asm-verbose=false -march=x86-64 -o - < %s | FileCheck %s
0 ; RUN: llc -asm-verbose=false -march=x86-64 -mtriple=x86_64-apple-darwin -o - < %s | FileCheck %s
11
22 ; LSR should leave non-affine expressions alone because it currently
33 ; doesn't know how to do anything with them, and when it tries, it
66 ; CHECK: xorl %eax, %eax
77 ; CHECK-NEXT: align
88 ; CHECK-NEXT: BB0_1:
9 ; CHECK-NEXT: movq %rax, (%{{rdx|r8}})
10 ; CHECK-NEXT: addq %{{rsi|rdx}}, %rax
11 ; CHECK-NEXT: cmpq %{{rdi|rcx}}, %rax
9 ; CHECK-NEXT: movq %rax, (%rdx)
10 ; CHECK-NEXT: addq %rsi, %rax
11 ; CHECK-NEXT: cmpq %rdi, %rax
1212 ; CHECK-NEXT: jl
1313 ; CHECK-NEXT: imulq %rax, %rax
1414 ; CHECK-NEXT: ret