[clang] [CIR] Upstream cir.call with scalar arguments (PR #136810)

Sirui Mu via cfe-commits cfe-commits at lists.llvm.org
Sat Apr 26 09:03:19 PDT 2025


================
@@ -214,14 +214,15 @@ class CIRBaseBuilderTy : public mlir::OpBuilder {
   //===--------------------------------------------------------------------===//
 
   cir::CallOp createCallOp(mlir::Location loc, mlir::SymbolRefAttr callee,
-                           mlir::Type returnType) {
-    auto op = create<cir::CallOp>(loc, callee, returnType);
+                           mlir::Type returnType, mlir::ValueRange operands) {
+    auto op = create<cir::CallOp>(loc, callee, returnType, operands);
----------------
Lancern wrote:

Done.

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


More information about the cfe-commits mailing list