[all-commits] [llvm/llvm-project] d73beb: [flang] Delete the unused ragged-array runtime bui...

Eugene Epshteyn via All-commits all-commits at lists.llvm.org
Fri Jul 31 06:30:04 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d73beb2ee622eb1aaa13a4bdbe25799031f647f8
      https://github.com/llvm/llvm-project/commit/d73beb2ee622eb1aaa13a4bdbe25799031f647f8
  Author: Eugene Epshteyn <eepshteyn at nvidia.com>
  Date:   2026-07-31 (Fri, 31 Jul 2026)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/FIRBuilder.h
    R flang/include/flang/Optimizer/Builder/Runtime/Ragged.h
    M flang/include/flang/Runtime/ragged.h
    M flang/lib/Optimizer/Builder/CMakeLists.txt
    M flang/lib/Optimizer/Builder/FIRBuilder.cpp
    R flang/lib/Optimizer/Builder/Runtime/Ragged.cpp
    R flang/unittests/Optimizer/Builder/Runtime/RaggedTest.cpp
    M flang/unittests/Optimizer/CMakeLists.txt

  Log Message:
  -----------
  [flang] Delete the unused ragged-array runtime builders (#213160)

The ragged-array machinery served the legacy FORALL mask temporaries,
whose lowering was removed with the legacy expression lowering (#210639,
#210873) and the array-value-copy pass (#212643). The builders
(fir::runtime::genRaggedArrayAllocate/Deallocate) and the
getRaggedArrayHeaderType helper have no compiler callers left; only
their own unit test exercised them. Delete the builders, the helper, and
the unit test.

The flang-rt runtime entry points
(RaggedArrayAllocate/RaggedArrayDeallocate in
flang-rt/lib/runtime/ragged.cpp and their declarations in
flang/include/flang/Runtime/ragged.h) are ABI and remain.

Assisted-by: AI



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