[Mlir-commits] [mlir] Reapply [MLIR][LLVMIR] Import unregistered intrinsics via llvm.intrin… (PR #129174)

Bruno Cardoso Lopes llvmlistbot at llvm.org
Fri Feb 28 10:58:45 PST 2025


================
@@ -1642,6 +1642,46 @@ FlatSymbolRefAttr ModuleImport::convertCalleeName(llvm::CallBase *callInst) {
   return {};
 }
 
+LogicalResult mlir::LLVMImportInterface::convertUnregisteredIntrinsic(
----------------
bcardosolopes wrote:

Note you cannot access any `moduleImport` state in `mlir/include/mlir/Target/LLVMIR/LLVMImportInterface.h` because it's a fwd declaration. Even if I move `convertUnregisteredIntrinsic` to `ModuleImport`, I'd still need to have something calling into `moduleImport` and that isn't doable inside that header file. What am I missing?

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


More information about the Mlir-commits mailing list