================
@@ -1840,7 +1862,10 @@ rewriteCallOrInvoke(mlir::Operation *op, 
mlir::ValueRange callOperands,
   if (converter->convertTypes(cirResults, llvmResults).failed())
     return mlir::failure();
 
-  assert(!cir::MissingFeatures::opCallCallConv());
+  auto cconv = convertCallingConv(call.getCallingConv());
----------------
Lancern wrote:

```suggestion
  std::optional<mlir::LLVM::CConv> cconv = 
convertCallingConv(call.getCallingConv());
```

https://github.com/llvm/llvm-project/pull/181170
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to