[all-commits] [llvm/llvm-project] 1f7eff: [mlir][acc][flang] Use SymbolRefAttr for func_name...

delaram-talaashrafi via All-commits all-commits at lists.llvm.org
Thu Jul 3 14:56:12 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f7effc88774eee0c957f0aa6c5092b5dae93069
      https://github.com/llvm/llvm-project/commit/1f7effc88774eee0c957f0aa6c5092b5dae93069
  Author: delaram-talaashrafi <dtalaashrafi at nvidia.com>
  Date:   2025-07-03 (Thu, 03 Jul 2025)

  Changed paths:
    M flang/lib/Lower/OpenACC.cpp
    M mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td

  Log Message:
  -----------
  [mlir][acc][flang] Use SymbolRefAttr for func_name in ACC routine (#146951)

Changed the type of the `func_name` attribute from SymbolNameAttr to
SymbolRefAttr. SymbolNameAttr is typically used when defining a symbol
(e.g., `sym_name`), while SymbolRefAttr is appropriate for referencing
existing operations. This change ensures that MLIR can correctly track
the link to the referenced `func.func` operation.



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