[all-commits] [llvm/llvm-project] 32c985: [flang] Extend symbol update to ArrayAttrext in `e...

Delaram Talaashrafi via All-commits all-commits at lists.llvm.org
Wed Jul 23 10:26:05 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 32c985485500b214d57cb25306734eb73833d59b
      https://github.com/llvm/llvm-project/commit/32c985485500b214d57cb25306734eb73833d59b
  Author: Delaram Talaashrafi <dtalaashrafi at nvidia.com>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M flang/lib/Optimizer/Transforms/ExternalNameConversion.cpp
    A flang/test/Transforms/external-name-interop-symref-array.fir

  Log Message:
  -----------
  [flang] Extend symbol update to ArrayAttrext in `external-name-interop` (#150061)

In the `external-name-interop` pass, when a symbol is changed, all the
uses of the renamed symbols should also be updated. The update was only
applied to the `SymbolRefAttr` type. With this change, the update will
be applied to `ArrayAttr` containing elements of type `SymbolRefAttr`.

---------

Co-authored-by: Delaram Talaashrafi <dtalaashrafi at nvidia.com>



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