[all-commits] [llvm/llvm-project] d11e40: [flang] Make real type of kind 10 target dependent

PeixinQiao via All-commits all-commits at lists.llvm.org
Sat Oct 1 19:31:42 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d11e406e369fc90be5e2e2a0798ea7b7d2625882
      https://github.com/llvm/llvm-project/commit/d11e406e369fc90be5e2e2a0798ea7b7d2625882
  Author: Peixin Qiao <qiaopeixin at huawei.com>
  Date:   2022-10-02 (Sun, 02 Oct 2022)

  Changed paths:
    M flang/lib/Evaluate/target.cpp
    M flang/lib/Frontend/CompilerInvocation.cpp
    M flang/module/__fortran_ieee_exceptions.f90
    M flang/module/ieee_arithmetic.f90
    M flang/test/Evaluate/folding07.f90
    M flang/test/Semantics/kinds03.f90
    M flang/test/Semantics/modfile26.f90
    A flang/test/Semantics/real10-x86-01.f90
    A flang/test/Semantics/real10-x86-02.f90
    A flang/test/Semantics/realkinds-aarch64-01.f90
    M flang/tools/bbc/bbc.cpp

  Log Message:
  -----------
  [flang] Make real type of kind 10 target dependent

The real(10) is supported on x86_64. On aarch64, the value of
selected_real_kind(16) should be 16 rather than 10 since real(10)
is not supported on x86_64. Previously, the real type support check
is not target dependent. Support it now through the target triple
information.

Reviewed By: clementval

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




More information about the All-commits mailing list