[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:34 PST 2026


================
@@ -882,16 +883,30 @@ static mlir::ParseResult parseCallCommon(mlir::OpAsmParser &parser,
   if (parser.resolveOperands(ops, opsFnTy.getInputs(), opsLoc, result.operands))
     return mlir::failure();
 
+  bool hasCallConv = parser.parseOptionalKeyword("cc").succeeded() ||
+                     parser.parseOptionalKeyword("call_conv").succeeded();
----------------
Lancern wrote:

Is `call_conv` actually used?

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


More information about the cfe-commits mailing list