mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
40f69f3c47
As we already return true from needsAggressiveScheduling() for the most recent hardware it would be cleaner to just return true for all PowerPC hardware. Differential Revision: https://reviews.llvm.org/D48663 llvm-svn: 337488
18 lines
516 B
LLVM
18 lines
516 B
LLVM
; RUN: llc -verify-machineinstrs -mcpu=ppc32 -mtriple=powerpc-unknown-linux-gnu < %s | FileCheck %s
|
|
define double @test(i1 %X) {
|
|
%Y = uitofp i1 %X to double
|
|
ret double %Y
|
|
}
|
|
|
|
; CHECK-LABEL: @test
|
|
; CHECK-DAG: addis 3, 4, .LCPI
|
|
; CHECK-DAG: addis 4, 4, .LCPI
|
|
; CHECK-DAG: andi. {{[0-9]+}}, 3, 1
|
|
; CHECK-NEXT: bc 12, 1, [[TRUE:.LBB[0-9]+]]
|
|
; CHECK-NEXT: b [[SUCCESSOR:.LBB[0-9]+]]
|
|
; CHECK-NEXT: [[TRUE]]
|
|
; CHECK-NEXT: addi 3, 4, 0
|
|
; CHECK-NEXT: [[SUCCESSOR]]
|
|
; CHECK-NEXT: lfs 1, 0(3)
|
|
; CHECK-NEXT: blr
|