[all-commits] [llvm/llvm-project] 91dd87: [flang] Keep current polymorphic implementation un...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Wed Oct 5 14:05:47 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 91dd872ea6cff9bf6d83285b9c36dba40d86d0dd
      https://github.com/llvm/llvm-project/commit/91dd872ea6cff9bf6d83285b9c36dba40d86d0dd
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2022-10-05 (Wed, 05 Oct 2022)

  Changed paths:
    M flang/include/flang/Lower/LoweringOptions.h
    M flang/lib/Lower/CallInterface.cpp
    M flang/lib/Lower/ConvertType.cpp
    M flang/test/Lower/polymorphic-types.f90
    M flang/tools/bbc/bbc.cpp

  Log Message:
  -----------
  [flang] Keep current polymorphic implementation under a flag

It is useful for couple of test suite like NAG to keep failing
with a TODO until the polymorphic entities is implemented  all the
way done to codegen.

This pass adds a flag to LoweringOptions for experimental development.
This flag is off by default and can be enable in `bbc` with `-polymorphic-type`.
Options can be added in the driver and tco when needed.

Reviewed By: PeteSteinfeld

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




More information about the All-commits mailing list