Debian Codegraph @

llvm/test/CodeGen/PowerPC/fp2int2fp-ppcfp128.ll

raw
1 ; RUN: llc -verify-machineinstrs -mcpu=a2 -mtriple=powerpc64-unknown-linux-gnu < %s | FileCheck %s
2 target datalayout = "E-m:e-i64:64-n32:64"
3
4 define linkonce_odr double @test1(ppc_fp128 %input) {
5 entry:
6 %conv6.i.i = fptosi ppc_fp128 %input to i64
7 %conv.i = sitofp i64 %conv6.i.i to double
8 ret double %conv.i
9
10 ; CHECK-LABEL: @test1
11 ; CHECK: bl __fixtfdi
12 ; CHECK: fcfid
13 ; CHECK: blr
14 }
15