[all-commits] [llvm/llvm-project] 4bb175: [flang] Lowering and implementation for same_type_as

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Wed Jan 11 00:30:57 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4bb1751140b99ce4a8bb7f88c1b631c535e52f1d
      https://github.com/llvm/llvm-project/commit/4bb1751140b99ce4a8bb7f88c1b631c535e52f1d
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2023-01-11 (Wed, 11 Jan 2023)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/Runtime/Derived.h
    M flang/include/flang/Runtime/derived-api.h
    M flang/lib/Lower/IntrinsicCall.cpp
    M flang/lib/Optimizer/Builder/Runtime/Derived.cpp
    M flang/runtime/derived-api.cpp
    A flang/test/Lower/Intrinsics/same_type_as.f90

  Log Message:
  -----------
  [flang] Lowering and implementation for same_type_as

The test performed by same_type_as does not consider kind type
parameters. If an exact match is not found, the name of the
derived type is compared. The name in the runtime info does not include
the kind type parameters as it does in the mangled name.

Reviewed By: jeanPerier, PeteSteinfeld

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




More information about the All-commits mailing list