[llvm] [mlir] [MLIR] convert OpAsmDialectInterface using ODS (PR #171488)
Jacques Pienaar via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 17 21:18:28 PST 2025
================
@@ -85,6 +85,16 @@ class StaticInterfaceMethod<string desc, string retTy, string methodName,
: InterfaceMethod<desc, retTy, methodName, args, methodBody,
defaultImplementation>;
+// This class represents a pure virtual interface method.
+class PureVirtualInterfaceMethod<string desc, string retTy, string methodName,
+ dag args = (ins)>
+ : InterfaceMethod<desc, retTy, methodName, args>;
----------------
jpienaar wrote:
Isn't that a InterfaceMethod without body or defaultBody?
https://github.com/llvm/llvm-project/pull/171488
More information about the llvm-commits
mailing list