[all-commits] [llvm/llvm-project] 898a7b: [flang][hlfir] Establish <storage, mustFree> tuple...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Thu May 11 08:43:49 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 898a7bd0e8ffa58093fe906fddeedb0d5d8275f9
      https://github.com/llvm/llvm-project/commit/898a7bd0e8ffa58093fe906fddeedb0d5d8275f9
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2023-05-11 (Thu, 11 May 2023)

  Changed paths:
    M flang/lib/Optimizer/HLFIR/Transforms/BufferizeHLFIR.cpp
    M flang/test/HLFIR/apply-codegen.fir
    A flang/test/HLFIR/bufferize01.fir

  Log Message:
  -----------
  [flang][hlfir] Establish <storage, mustFree> tuple for ApplyOp and NoReassocOp.

The bufferization pass must create the tuple for these operations, because
the users may require it. For example, in case of ElementalOp inlining
a DestroyOp may be generated for the operand of YieldElementOp, and
the operand may be ApplyOp->NoReassocOp chain.

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




More information about the All-commits mailing list