[Mlir-commits] [clang] [flang] [mlir] [mlir][IR] Require inherent symbol attributes for Symbol operations (PR #218920)

Mehdi Amini llvmlistbot at llvm.org
Wed Aug 26 07:58:09 PDT 2026


joker-eph wrote:

> In general the direction LGTM, can we remove the default implementation in `getNameAttr` and the declaration and usage of `SymbolTable::getSymbolAttrName()`? Since the name, visibility, all should be backed by the op, we should drop the lookup via attributes and rely on the interface methods to resolve to the proper storage in the op. Or is that out of scope and intended for a future patch?

I was seeing this out of scope for now, since even if they are backed by the op, relying on inherent attribute APIs looked good enough. That said I just did the update you asked, PTAL?

https://github.com/llvm/llvm-project/pull/218920


More information about the Mlir-commits mailing list