1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -mtriple=powerpc64le-unknown-linux < %s | FileCheck %s
3 ; RUN: llc -mtriple=powerpc64-ibm-aix-xcoff < %s | FileCheck %s
5 define double @ldbl_1(ppc_fp128 %x) {
7 ; CHECK: # %bb.0: # %entry
11 %0 = call double @llvm.ppc.unpack.longdouble(ppc_fp128 %x, i32 0)
15 define double @ldbl_2(ppc_fp128 %x) {
16 ; CHECK-LABEL: ldbl_2:
17 ; CHECK: # %bb.0: # %entry
20 %0 = call double @llvm.ppc.unpack.longdouble(ppc_fp128 %x, i32 1)
24 define ppc_fp128 @ldbl_pack(double %x, double %y) {
25 ; CHECK-LABEL: ldbl_pack:
26 ; CHECK: # %bb.0: # %entry
29 %0 = call ppc_fp128 @llvm.ppc.pack.longdouble(double %x, double %y)
33 declare double @llvm.ppc.unpack.longdouble(ppc_fp128, i32)
34 declare ppc_fp128 @llvm.ppc.pack.longdouble(double, double)