[all-commits] [llvm/llvm-project] e976ea: [flang] Fix optimization of array assignments afte...

Leandro Lupori via All-commits all-commits at lists.llvm.org
Tue Jul 8 10:47:47 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e976eaf3037a1c0fe68432ae60a503bf144a1c30
      https://github.com/llvm/llvm-project/commit/e976eaf3037a1c0fe68432ae60a503bf144a1c30
  Author: Leandro Lupori <leandro.lupori at linaro.org>
  Date:   2025-07-08 (Tue, 08 Jul 2025)

  Changed paths:
    M flang/lib/Optimizer/HLFIR/Transforms/OptimizedBufferization.cpp
    M flang/test/HLFIR/opt-scalar-assign.fir

  Log Message:
  -----------
  [flang] Fix optimization of array assignments after #146408 (#147371)

Host associated variables were not being handled properly.
For array references, get the fixed shape extents from the value
type instead, that works correctly in all cases.



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