[all-commits] [llvm/llvm-project] f809bf: [flang][hlfir] Use complete form of DesignateOp fo...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Fri May 19 09:02:22 PDT 2023


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

  Changed paths:
    M flang/lib/Lower/ConvertExprToHLFIR.cpp
    M flang/test/Lower/HLFIR/designators-component-ref.f90

  Log Message:
  -----------
  [flang][hlfir] Use complete form of DesignateOp for im/re array designators.

With this change, the lowering provides full slice triples for
designators like ...%array_comp%im/re, so that the codegen
does not have to figure it out for the array_comp.
Basically, ...%array_comp%im/re is lowered the same way
as ...%array_comp(:,:,...)%im/re.

Reviewed By: jeanPerier

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




More information about the All-commits mailing list