mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
db43217a24
Currently we have a number of tests that fail with -verify-machineinstrs. To detect this cases earlier we add the option to the testcases with the exception of tests that will currently fail with this option. PR 27456 keeps track of this failures. No code review, as discussed with Hal Finkel. llvm-svn: 277624
17 lines
391 B
LLVM
17 lines
391 B
LLVM
; RUN: llc -verify-machineinstrs -mcpu=a2 < %s | FileCheck %s
|
|
target datalayout = "E-m:e-i64:64-n32:64"
|
|
target triple = "powerpc64-bgq-linux"
|
|
|
|
define linkonce_odr double @test1(ppc_fp128 %input) {
|
|
entry:
|
|
%conv6.i.i = fptosi ppc_fp128 %input to i64
|
|
%conv.i = sitofp i64 %conv6.i.i to double
|
|
ret double %conv.i
|
|
|
|
; CHECK-LABEL: @test1
|
|
; CHECK: bl __fixtfdi
|
|
; CHECK: fcfid
|
|
; CHECK: blr
|
|
}
|
|
|