mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Relax expressions and add explicit triplets -linux and -win32.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126210 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
; RUN: llc < %s -march=x86-64 -asm-verbose=false | FileCheck %s
|
; RUN: llc < %s -mtriple=x86_64-linux -asm-verbose=false | FileCheck %s
|
||||||
|
; RUN: llc < %s -mtriple=x86_64-win32 -asm-verbose=false | FileCheck %s
|
||||||
|
|
||||||
; LSR's OptimizeMax should eliminate the select (max).
|
; LSR's OptimizeMax should eliminate the select (max).
|
||||||
|
|
||||||
@@ -40,13 +41,13 @@ for.end: ; preds = %for.body, %entry
|
|||||||
|
|
||||||
; CHECK: jle
|
; CHECK: jle
|
||||||
; CHECK-NOT: cmov
|
; CHECK-NOT: cmov
|
||||||
; CHECK: xorl %edi, %edi
|
; CHECK: xorl {{%edi, %edi|%ecx, %ecx}}
|
||||||
; CHECK-NEXT: align
|
; CHECK-NEXT: align
|
||||||
; CHECK-NEXT: BB1_2:
|
; CHECK-NEXT: BB1_2:
|
||||||
; CHECK-NEXT: callq
|
; CHECK-NEXT: callq
|
||||||
; CHECK-NEXT: incl %ebx
|
; CHECK-NEXT: incl [[BX:%ebx|%esi]]
|
||||||
; CHECK-NEXT: cmpl %r14d, %ebx
|
; CHECK-NEXT: cmpl [[R14:%r14d|%edi]], [[BX]]
|
||||||
; CHECK-NEXT: movq %rax, %rdi
|
; CHECK-NEXT: movq %rax, %r{{di|cx}}
|
||||||
; CHECK-NEXT: jl
|
; CHECK-NEXT: jl
|
||||||
|
|
||||||
define void @_Z18GenerateStatusPagei(i32 %jobs_to_display) nounwind {
|
define void @_Z18GenerateStatusPagei(i32 %jobs_to_display) nounwind {
|
||||||
|
Reference in New Issue
Block a user