[Mlir-commits] [mlir] [MLIR][LLVM] Add vararg support in LLVM::CallOp (PR #67274)
Christian Ulmann
llvmlistbot at llvm.org
Wed Sep 27 08:35:13 PDT 2023
================
@@ -211,9 +211,15 @@ convertOperationImpl(Operation &opInst, llvm::IRBuilderBase &builder,
call = builder.CreateCall(
moduleTranslation.lookupFunction(attr.getValue()), operandsRef);
} else {
- call = builder.CreateCall(getCalleeFunctionType(callOp.getResultTypes(),
- callOp.getArgOperands()),
- operandsRef.front(), operandsRef.drop_front());
+ llvm::FunctionType *calleeType;
+ if (callOp.getCalleeType())
----------------
Dinistro wrote:
Could you now use your newly added helper here?
https://github.com/llvm/llvm-project/pull/67274
More information about the Mlir-commits
mailing list