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

Christian Ulmann llvmlistbot at llvm.org
Tue Sep 26 00:07:22 PDT 2023


================
@@ -1362,6 +1476,17 @@ void InvokeOp::print(OpAsmPrinter &p) {
   auto callee = getCallee();
   bool isDirect = callee.has_value();
 
+  LLVMFunctionType calleeType;
+  bool isVarArg;
+
+  std::optional<LLVMFunctionType> optionalCalleeType = getCalleeType();
----------------
Dinistro wrote:

NIT: Same as above. 
Maybe we should try to share the print logic of `llvm.call` and `llvm.invoke` at some point.


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


More information about the Mlir-commits mailing list