[Mlir-commits] [mlir] [MLIR] Add ODS support for generating helpers for dialect (discardable) attributes (PR #77024)

Jacques Pienaar llvmlistbot at llvm.org
Wed Feb 7 07:16:37 PST 2024


================
@@ -34,6 +34,8 @@ class Dialect {
   // pattern or interfaces.
   list<string> dependentDialects = [];
 
+  dag discardableAttrs = (ins);
----------------
jpienaar wrote:

That makes sense to me. These being dialect known discardable rather than op known optional.

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


More information about the Mlir-commits mailing list