[all-commits] [llvm/llvm-project] 262c23: [flang] Introduce fir.class type

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Sun Oct 2 11:14:37 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 262c23d2ca04dd4c680b20917c87e49949664390
      https://github.com/llvm/llvm-project/commit/262c23d2ca04dd4c680b20917c87e49949664390
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2022-10-02 (Sun, 02 Oct 2022)

  Changed paths:
    M flang/docs/PolymorphicEntities.md
    M flang/include/flang/Optimizer/Dialect/FIRType.h
    M flang/include/flang/Optimizer/Dialect/FIRTypes.td
    M flang/lib/Optimizer/Dialect/FIRType.cpp
    M flang/test/Fir/fir-types.fir
    M flang/test/Fir/invalid-types.fir

  Log Message:
  -----------
  [flang] Introduce fir.class type

Introduce a new ClassType for polymorphic
entities. A fir.class type is similar to a fir.box type in
many ways and is also base on the BaseBoxType.

This patch is part of the implementation of the poltymorphic
entities.
https://github.com/llvm/llvm-project/blob/main/flang/docs/PolymorphicEntities.md

Depends on D134956

Reviewed By: jeanPerier

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




More information about the All-commits mailing list