[llvm] [mlir] [MLIR][LLVM][Intrinsics] Add new MLIR and LLVM APIs to automatically resolve overload types (PR #168188)
Rajat Bajpai via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 20 11:02:11 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:
Yes, sounds reasonable. I'll update this PR with MLIR only changes and create a separate PR for LLVM.
https://github.com/llvm/llvm-project/pull/168188
More information about the llvm-commits
mailing list