[all-commits] [llvm/llvm-project] d311cb: [flang] Recognize unused dummy arguments during lo...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Wed Apr 26 08:56:51 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d311cb64a7d339c8d2be5351edaebd9bc21ebfe6
      https://github.com/llvm/llvm-project/commit/d311cb64a7d339c8d2be5351edaebd9bc21ebfe6
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2023-04-26 (Wed, 26 Apr 2023)

  Changed paths:
    M flang/lib/Lower/ConvertVariable.cpp
    A flang/test/HLFIR/dummy_deallocation.f90

  Log Message:
  -----------
  [flang] Recognize unused dummy arguments during lowering with HLFIR.

So far we've relied on AllocaOp to represent the dummy arguments
not declared for the current entry. With HLFIR we have to account
for hlfir::DeclareOp.

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




More information about the All-commits mailing list