[all-commits] [llvm/llvm-project] bb8997: [flang][hlfir] Use the assignment runtime for unli...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Mon Aug 14 10:16:32 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bb8997515bc571076b6f67111ab3f03a7a5580d3
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2023-08-14 (Mon, 14 Aug 2023)

  Changed paths:
    M flang/lib/Optimizer/HLFIR/Transforms/ConvertToFIR.cpp
    M flang/test/HLFIR/assign-codegen.fir

  Log Message:
  [flang][hlfir] Use the assignment runtime for unlimited polymorphic.

Handle special case of element-per-element assignments generated
for creating a temp for unlimited polymorphic hlfir.expr.
We currently end up generating an invalid fir.store. We should use
the assignment runtime instead.

Reviewed By: tblah

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

More information about the All-commits mailing list