[all-commits] [llvm/llvm-project] fc51c7: [flang][runtime] Disable LDBL_MANT_DIG == 113 for ...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Thu Sep 19 15:46:06 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fc51c7f0cc1abf1679100d71d103fe5d943f580b
      https://github.com/llvm/llvm-project/commit/fc51c7f0cc1abf1679100d71d103fe5d943f580b
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2024-09-19 (Thu, 19 Sep 2024)

  Changed paths:
    M flang/include/flang/Common/float128.h
    M flang/include/flang/Runtime/cpp-type.h
    M flang/include/flang/Runtime/matmul-instances.inc
    M flang/include/flang/Runtime/numeric.h
    M flang/include/flang/Runtime/reduce.h
    M flang/include/flang/Runtime/reduction.h
    M flang/include/flang/Runtime/transformational.h
    M flang/include/flang/Tools/TargetSetup.h
    M flang/lib/Evaluate/intrinsics-library.cpp
    M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
    M flang/runtime/Float128Math/acos.cpp
    M flang/runtime/Float128Math/acosh.cpp
    M flang/runtime/Float128Math/asin.cpp
    M flang/runtime/Float128Math/asinh.cpp
    M flang/runtime/Float128Math/atan.cpp
    M flang/runtime/Float128Math/atan2.cpp
    M flang/runtime/Float128Math/atanh.cpp
    M flang/runtime/Float128Math/ceil.cpp
    M flang/runtime/Float128Math/complex-math.c
    M flang/runtime/Float128Math/complex-math.h
    M flang/runtime/Float128Math/cos.cpp
    M flang/runtime/Float128Math/cosh.cpp
    M flang/runtime/Float128Math/erf.cpp
    M flang/runtime/Float128Math/erfc.cpp
    M flang/runtime/Float128Math/exp.cpp
    M flang/runtime/Float128Math/exponent.cpp
    M flang/runtime/Float128Math/floor.cpp
    M flang/runtime/Float128Math/fma.cpp
    M flang/runtime/Float128Math/fraction.cpp
    M flang/runtime/Float128Math/hypot.cpp
    M flang/runtime/Float128Math/j0.cpp
    M flang/runtime/Float128Math/j1.cpp
    M flang/runtime/Float128Math/jn.cpp
    M flang/runtime/Float128Math/lgamma.cpp
    M flang/runtime/Float128Math/llround.cpp
    M flang/runtime/Float128Math/log.cpp
    M flang/runtime/Float128Math/log10.cpp
    M flang/runtime/Float128Math/lround.cpp
    M flang/runtime/Float128Math/math-entries.h
    M flang/runtime/Float128Math/mod-real.cpp
    M flang/runtime/Float128Math/modulo-real.cpp
    M flang/runtime/Float128Math/nearest.cpp
    M flang/runtime/Float128Math/norm2.cpp
    M flang/runtime/Float128Math/pow.cpp
    M flang/runtime/Float128Math/random.cpp
    M flang/runtime/Float128Math/round.cpp
    M flang/runtime/Float128Math/rrspacing.cpp
    M flang/runtime/Float128Math/scale.cpp
    M flang/runtime/Float128Math/set-exponent.cpp
    M flang/runtime/Float128Math/sin.cpp
    M flang/runtime/Float128Math/sinh.cpp
    M flang/runtime/Float128Math/spacing.cpp
    M flang/runtime/Float128Math/sqrt.cpp
    M flang/runtime/Float128Math/tan.cpp
    M flang/runtime/Float128Math/tanh.cpp
    M flang/runtime/Float128Math/tgamma.cpp
    M flang/runtime/Float128Math/trunc.cpp
    M flang/runtime/Float128Math/y0.cpp
    M flang/runtime/Float128Math/y1.cpp
    M flang/runtime/Float128Math/yn.cpp
    M flang/runtime/complex-powi.cpp
    M flang/runtime/complex-reduction.c
    M flang/runtime/complex-reduction.h
    M flang/runtime/dot-product.cpp
    M flang/runtime/extrema.cpp
    M flang/runtime/numeric-templates.h
    M flang/runtime/numeric.cpp
    M flang/runtime/product.cpp
    M flang/runtime/reduce.cpp
    M flang/runtime/reduction-templates.h
    M flang/runtime/sum.cpp
    M flang/runtime/transformational.cpp
    M flang/unittests/Runtime/Numeric.cpp
    M flang/unittests/Runtime/Reduction.cpp
    M flang/unittests/Runtime/Transformational.cpp

  Log Message:
  -----------
  [flang][runtime] Disable LDBL_MANT_DIG == 113 for the offload builds. (#109339)

When compiling on aarch64 some `LDBL_MANT_DIG == 113` entries
end up trying to use `complex<long double>` for which there are
no certain specializations in `libcudacxx`. This change-set
includes a clean-up for `LDBL_MANT_DIG == 113` usage, which is replaced
with `HAS_LDBL128` that is set in `float128.h`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list