[llvm] [mlir] [mlir] Add symbol user attribute interface. (PR #153206)

Mehdi Amini via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 17 03:13:42 PDT 2025


================
@@ -220,6 +220,24 @@ def SymbolUserOpInterface : OpInterface<"SymbolUserOpInterface"> {
   ];
 }
 
+def SymbolUserAttrInterface : AttrInterface<"SymbolUserAttrInterface"> {
+  let description = [{
+    This interface describes an attribute that may use a `Symbol`. This
+    interface allows for users of symbols to hook into verification and other
+    symbol related utilities that are either costly or otherwise disallowed
+    within a traditional operation.
----------------
joker-eph wrote:

Also what are these things that are costly/disallowed?

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


More information about the llvm-commits mailing list