[Mlir-commits] [mlir] [MLIR] Fix import of invokes with mismatched variadic types (PR #124828)

Henrich Lauko llvmlistbot at llvm.org
Wed Jan 29 00:14:49 PST 2025


================
@@ -2097,6 +2085,43 @@ void ModuleImport::convertParameterAttributes(llvm::Function *func,
       builder.getArrayAttr(convertParameterAttribute(llvmResAttr, builder)));
 }
 
+namespace impl {
+template <typename Op>
+LogicalResult convertCallBaseAttributes(llvm::CallBase *inst, Op op) {
+  op.setCConv(convertCConvFromLLVM(inst->getCallingConv()));
+  return success();
+}
+} // namespace impl
----------------
xlauko wrote:

fixed in 1c441a8a68d66e4bf64a91fe98160417d8132607

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


More information about the Mlir-commits mailing list