[all-commits] [llvm/llvm-project] 519626: [flang] Restrict __float128 support for some build...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Tue Oct 18 10:06:46 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 51962690d8879a13c3ec90e3d0d82b0151710aab
      https://github.com/llvm/llvm-project/commit/51962690d8879a13c3ec90e3d0d82b0151710aab
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2022-10-18 (Tue, 18 Oct 2022)

  Changed paths:
    M flang/include/flang/Runtime/float128.h

  Log Message:
  -----------
  [flang] Restrict __float128 support for some build configurations.

This change is intended to resolve build issues reported in D134503.
A compiler supporting __float128 must define either __FLOAT128__ or
__SIZEOF_FLOAT128__ (or both). Additional check for _LIBCPP_VERSION
was added to disable __float128 for builds with libc++, because
__float128 support is incomplete there.

Differential Revision: https://reviews.llvm.org/D136121




More information about the All-commits mailing list