[all-commits] [llvm/llvm-project] 187dfe: [flang] Enabled pulling of rebox into array_coor. ...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Tue May 26 15:30:39 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 187dfef80ee9d5cb89efc918a2af407389553779
      https://github.com/llvm/llvm-project/commit/187dfef80ee9d5cb89efc918a2af407389553779
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2026-05-26 (Tue, 26 May 2026)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/FIRBuilder.h
    A flang/include/flang/Optimizer/Dialect/FIRBoxUtils.h
    M flang/lib/Optimizer/Builder/FIRBuilder.cpp
    M flang/lib/Optimizer/Dialect/CMakeLists.txt
    A flang/lib/Optimizer/Dialect/FIRBoxUtils.cpp
    M flang/lib/Optimizer/Dialect/FIROps.cpp
    M flang/test/Fir/array-coor-canonicalization.fir

  Log Message:
  -----------
  [flang] Enabled pulling of rebox into array_coor. (#199161)

This patch enables pulling slicing `fir.rebox` operations
into `fir.array_coor`. This helps preserve information about
the original rank of the array being accessed.
`FIRToMemRef` and later passes may benefit from this.

Assisted by: Claude



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