[all-commits] [llvm/llvm-project] 1e413b: [flang][NFC] Centralize fir.class addition in Conv...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Wed Feb 8 01:29:13 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e413b905545e738393a8c45acb79017d49927c4
      https://github.com/llvm/llvm-project/commit/1e413b905545e738393a8c45acb79017d49927c4
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2023-02-08 (Wed, 08 Feb 2023)

  Changed paths:
    M flang/lib/Lower/ConvertType.cpp
    M flang/lib/Lower/HostAssociations.cpp

  Log Message:
  -----------
  [flang][NFC] Centralize fir.class addition in ConvertType

fir.class type is always needed for polymorphic and unlimited
polymorphic entities. Wrapping the element type with a fir.class
type was done in ConvertType for some case and else where in the
code for other. Centralize this in ConvertType when converting
from expr or symbol.

Reviewed By: jeanPerier

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




More information about the All-commits mailing list