[all-commits] [llvm/llvm-project] 3508f6: [flang][hlfir] Lower whole allocatable or pointer ...

jeanPerier via All-commits all-commits at lists.llvm.org
Thu Jan 19 07:58:25 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3508f69174e663d276b58c55e176688f828591ac
      https://github.com/llvm/llvm-project/commit/3508f69174e663d276b58c55e176688f828591ac
  Author: Jean Perier <jperier at nvidia.com>
  Date:   2023-01-19 (Thu, 19 Jan 2023)

  Changed paths:
    M flang/include/flang/Lower/ConvertVariable.h
    M flang/lib/Lower/ConvertExprToHLFIR.cpp
    M flang/lib/Lower/ConvertVariable.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/ConvertToFIR.cpp
    A flang/test/Lower/HLFIR/allocatable-and-pointer-components.f90

  Log Message:
  -----------
  [flang][hlfir] Lower whole allocatable or pointer component ref

Compare to other component ref lowering, the hlfir.designate result type
computation is different, and the allocatable/pointer/contiguous must
be set on the hlfir.designate so that the component attributes are
kept in the IR.

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




More information about the All-commits mailing list