[all-commits] [llvm/llvm-project] 0ac8cb: [flang] Recognize fir.pack_array in LoopVersioning...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Mon Mar 31 11:42:06 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ac8cb1b3df724f549a62f6b277745af3d50b23a
      https://github.com/llvm/llvm-project/commit/0ac8cb1b3df724f549a62f6b277745af3d50b23a
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2025-03-31 (Mon, 31 Mar 2025)

  Changed paths:
    M flang/docs/ArrayRepacking.md
    M flang/lib/Optimizer/Transforms/LoopVersioning.cpp
    A flang/test/Transforms/loop-versioning-with-repack-arrays.fir

  Log Message:
  -----------
  [flang] Recognize fir.pack_array in LoopVersioning. (#133191)

This change enables LoopVersioning when `fir.pack_array` is met
in the def-use chain. It fixes a couple of huge performance regressions
caused by enabling `-frepack-arrays`.



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