[all-commits] [llvm/llvm-project] f55bfd: [flang] Handle passing NULL() to polymorphic point...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Tue Jan 24 05:45:53 PST 2023


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

  Changed paths:
    M flang/lib/Lower/ConvertExpr.cpp
    M flang/test/Lower/polymorphic.f90

  Log Message:
  -----------
  [flang] Handle passing NULL() to polymorphic pointer argument

Only updates the assert to check where the box is a BaseBoxType
instead of a BoxType since ClassType are also valid in that case.

Reviewed By: jeanPerier

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




More information about the All-commits mailing list