================ @@ -1861,13 +1867,23 @@ def CallOp : CIR_CallOpBase<"call", [NoRegionArguments]> { let arguments = commonArgs; let builders = [OpBuilder<(ins "mlir::SymbolRefAttr":$callee, - "mlir::Type":$resType, - "mlir::ValueRange":$operands), [{ + "mlir::Type":$resType, + "mlir::ValueRange":$operands), + [{ $_state.addOperands(operands); $_state.addAttribute("callee", callee); if (resType && !isa<VoidType>(resType)) $_state.addTypes(resType); - }]>]; + }]>, + OpBuilder<(ins "mlir::Value":$callee, "mlir::Type":$resType, + "mlir::ValueRange":$operands), + [{ + $_state.addOperands(callee); ---------------- andykaylor wrote:
I don't like naming this `callee` given that we're assigning a specific meaning to that term in the definition of this op. https://github.com/llvm/llvm-project/pull/139748 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits