[Mlir-commits] [llvm] [mlir] [MLIR] convert OpAsmDialectInterface using ODS (PR #171488)

Jacques Pienaar llvmlistbot at llvm.org
Wed Dec 17 21:21:31 PST 2025


================
@@ -59,7 +59,48 @@ def WithDefaultMethodInterface : DialectInterface<"WithDefaultMethodInterface">
   ];
 }
 
-// DECL:  virtual bool isExampleDialect() const {
-// DECL-NEXT:  return true;
-// DECL-NEXT: }
+// DECL:   virtual bool isExampleDialect() const {
+// DECL-NEXT:   return true;
+// DECL-NEXT:   }
+
+def PureVirtualInterface : DialectInterface<"PureVirtualInterface"> {
----------------
jpienaar wrote:

I'd rather add this feature and tests along with when it is used. 

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


More information about the Mlir-commits mailing list