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

Tobias Gysi llvmlistbot at llvm.org
Wed Sep 27 00:10:20 PDT 2023


================
@@ -1262,6 +1325,18 @@ static ParseResult parseCallTypeAndResolveOperands(
   if (funcType.getNumResults() != 0)
     result.addTypes(funcType.getResults());
 
+  if (!isVarArg) {
----------------
gysit wrote:

Aren't we parsing here? I guess for a non vararg function we indeed do not need to set the callee_type attribute during parsing?

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


More information about the Mlir-commits mailing list