[Mlir-commits] [mlir] [MLIR][Python] Impl XOpInterface(s) from Python, with X=Transform and X=MemoryEffects (PR #176920)

Maksim Levental llvmlistbot at llvm.org
Tue Feb 3 20:32:14 PST 2026


================
@@ -206,8 +206,7 @@ PyGlobals::lookupOperationClass(llvm::StringRef operationName) {
   // Make sure dialect module is loaded.
   auto split = operationName.split('.');
   llvm::StringRef dialectNamespace = split.first;
-  if (!loadDialectModule(dialectNamespace))
-    return std::nullopt;
+  loadDialectModule(dialectNamespace);
----------------
makslevental wrote:

yea sure i guess that makes sense (but then you should indeed add the `(void)`)

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


More information about the Mlir-commits mailing list