[all-commits] [llvm/llvm-project] f5dbee: [flang][hlfir] Support rank mismatch with IGNORE_T...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Mon May 22 10:40:44 PDT 2023


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

  Changed paths:
    M flang/include/flang/Lower/CallInterface.h
    M flang/include/flang/Optimizer/Dialect/FIRType.h
    M flang/lib/Lower/CallInterface.cpp
    M flang/lib/Lower/ConvertCall.cpp
    M flang/lib/Optimizer/Dialect/FIROps.cpp
    M flang/lib/Optimizer/Dialect/FIRType.cpp
    A flang/test/Lower/HLFIR/ignore-rank-unlimited-polymorphic.f90

  Log Message:
  -----------
  [flang][hlfir] Support rank mismatch with IGNORE_TKR(R).

Reboxing of the actual argument according to the type of the dummy
argument has to be aware of the potential rank mismatch, when
IGNORE_TKR(R) is used. This change only adds support for the mismatching
rank when the dummy argument has unlimited polymorphic type.

Reviewed By: jeanPerier

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




More information about the All-commits mailing list