[all-commits] [llvm/llvm-project] 3aad7d: [flang] Fixed designator codegen for contiguous bo...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Mon May 12 18:33:51 PDT 2025


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

  Changed paths:
    M flang/lib/Optimizer/Builder/HLFIRTools.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/ConvertToFIR.cpp
    M flang/test/HLFIR/designate-codegen.fir

  Log Message:
  -----------
  [flang] Fixed designator codegen for contiguous boxes. (#139003)

Contiguous variables represented with a box do not have
explicit shape, but it looks like the base/shape computation
was assuming that. This caused generation of raw address
fir.array_coor without the shape. This patch is needed
to fix failures hapenning with #138797.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list