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

PeixinQiao via All-commits all-commits at lists.llvm.org
Mon Oct 3 00:26:09 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c4f04a126aa2c16b0185dbf55a2ab5db1d9de653
      https://github.com/llvm/llvm-project/commit/c4f04a126aa2c16b0185dbf55a2ab5db1d9de653
  Author: Peixin Qiao <qiaopeixin at huawei.com>
  Date:   2022-10-03 (Mon, 03 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