[Mlir-commits] [mlir] [MLIR][LLVM] Add vararg support in LLVM::LLVMFuncOp (PR #67274)

Ivan R. Ivanov llvmlistbot at llvm.org
Tue Sep 26 07:55:07 PDT 2023


================
@@ -1018,6 +1018,27 @@ static void printStoreType(OpAsmPrinter &printer, Operation *op,
 // CallOp
 //===----------------------------------------------------------------------===//
 
+/// Get the MLIR Op-like result types of a LLVMFunctionType
+static SmallVector<Type, 1> getCallOpResults(LLVMFunctionType calleeType) {
----------------
ivanradanov wrote:

I agree but I opted not to change the existing builders so as not to break code using them and adding even more builders started looking like way too many.

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


More information about the Mlir-commits mailing list