[all-commits] [llvm/llvm-project] ef0632: [flang] Make sure PointerNullifyDerived is called ...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Thu Dec 1 02:18:43 PST 2022


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

  Changed paths:
    M flang/include/flang/Optimizer/Dialect/FIRType.h
    M flang/lib/Optimizer/Builder/MutableBox.cpp
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp
    M flang/lib/Optimizer/Dialect/FIRType.cpp
    M flang/test/Lower/polymorphic.f90

  Log Message:
  -----------
  [flang] Make sure PointerNullifyDerived is called on pointer array

Record type was not correctly retrived so the runtime call was not
produced correctly.
Fix how the record type is retrived so the correct call is
produced.

Reviewed By: jeanPerier

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




More information about the All-commits mailing list