[all-commits] [llvm/llvm-project] 5d7c5e: [flang] Fix fir.dispatch_table generation with der...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Fri Dec 16 12:22:10 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d7c5e619963861ede2ce8112cc8947f81c8ebbd
      https://github.com/llvm/llvm-project/commit/5d7c5e619963861ede2ce8112cc8947f81c8ebbd
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2022-12-16 (Fri, 16 Dec 2022)

  Changed paths:
    M flang/lib/Evaluate/type.cpp
    M flang/test/Fir/dispatch.f90

  Log Message:
  -----------
  [flang] Fix fir.dispatch_table generation with derived-type parameter with kind type parameter

When generating the `fir.dispatch_table` operation, the name of the parent
derived-type needs to be mangled. For this the type instantiation
DerivedTypeSpec needs to be retrieved to have the correct kind type parameters.

Reviewed By: PeteSteinfeld

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




More information about the All-commits mailing list