• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -mcpu=a2 < %s | FileCheck %s
2target datalayout = "E-m:e-i64:64-n32:64"
3target triple = "powerpc64-bgq-linux"
4
5define linkonce_odr double @test1(ppc_fp128 %input) {
6entry:
7  %conv6.i.i = fptosi ppc_fp128 %input 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