[Mlir-commits] [mlir] [MLIR][LLVMIR] Import: add flag to prefer using unregistered intrinsics (PR #130685)

Bruno Cardoso Lopes llvmlistbot at llvm.org
Tue Mar 11 12:01:14 PDT 2025


================
@@ -277,6 +278,12 @@ class ModuleImport {
   void convertParameterAttributes(llvm::CallBase *call, ArrayAttr &argsAttr,
                                   ArrayAttr &resAttr, OpBuilder &builder);
 
+  /// Whether the importer should try to convert all intrinsics to
+  /// llvm.call_intrinsic instead of dialect supported operations.
+  bool useUnregisteredIntrinsicsOnly() const {
----------------
bcardosolopes wrote:

Looks like follow up work attempt? (I do volunteer, but I don't want to mix unrelated work here)

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


More information about the Mlir-commits mailing list