xref: /aosp_15_r20/external/llvm/test/CodeGen/PowerPC/pr16573.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Workertarget triple = "powerpc64-unknown-linux-gnu"
4*9880d681SAndroid Build Coastguard Worker
5*9880d681SAndroid Build Coastguard Workerdefine double @test() {
6*9880d681SAndroid Build Coastguard Worker  %1 = fptrunc ppc_fp128 0xM818F2887B9295809800000000032D000 to double
7*9880d681SAndroid Build Coastguard Worker  ret double %1
8*9880d681SAndroid Build Coastguard Worker}
9*9880d681SAndroid Build Coastguard Worker
10*9880d681SAndroid Build Coastguard Worker; CHECK: .quad -9111018957755033591
11*9880d681SAndroid Build Coastguard Worker
12