[Mlir-commits] [mlir] [MLIR][Intrinsics] Add new MLIR api to automatically resolve overload types (PR #168188)

Rajat Bajpai llvmlistbot at llvm.org
Thu Nov 20 22:58:53 PST 2025


================
@@ -898,6 +898,21 @@ llvm::CallInst *mlir::LLVM::detail::createIntrinsicCall(
   return builder.CreateCall(fn, args);
 }
 
+llvm::CallInst *mlir::LLVM::detail::createIntrinsicCall(
+    llvm::IRBuilderBase &builder, llvm::Intrinsic::ID intrinsic,
+    llvm::Type *retTy, ArrayRef<llvm::Value *> args) {
+  llvm::Module *module = builder.GetInsertBlock()->getModule();
+
+  SmallVector<llvm::Type *> argTys;
----------------
rajatbajpai wrote:

Created a PR https://github.com/llvm/llvm-project/pull/169007 for LLVM side of things.

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


More information about the Mlir-commits mailing list