[clang] [CIR] Upstream support for function/call calling conventions (PR #181170)
Sirui Mu via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 12 08:42:36 PST 2026
================
@@ -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
More information about the cfe-commits
mailing list