[Mlir-commits] [mlir] [MLIR][Python] Impl XOpInterface(s) from Python, with X=Transform and X=MemoryEffects (PR #176920)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Tue Feb 3 01:01:28 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);
----------------
PragmaTwice wrote:
ahh so for python-side defined operations `loadDialectModule` doesn't work well, right? looks an issue that we need to solve in the future.
https://github.com/llvm/llvm-project/pull/176920
More information about the Mlir-commits
mailing list