Home | History | Annotate | Download | only in PowerPC
      1 ; RUN: llc -mcpu=a2 < %s | FileCheck %s
      2 target datalayout = "E-m:e-i64:64-n32:64"
      3 target triple = "powerpc64-bgq-linux"
      4 
      5 define linkonce_odr double @test1() {
      6 entry:
      7   %conv6.i.i = fptosi ppc_fp128 undef to i64
      8   %conv.i = sitofp i64 %conv6.i.i to double
      9   ret double %conv.i
     10 
     11 ; CHECK-LABEL: @test1
     12 ; CHECK: bl __fixtfdi
     13 ; CHECK: fcfid
     14 ; CHECK: blr
     15 }
     16 
     17