[clang] [CIR] Add side effect attribute to call operations (PR #144201)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 16 10:58:54 PDT 2025
================
@@ -1940,22 +1975,30 @@ def CallOp : CIR_CallOpBase<"call", [NoRegionArguments]> {
let arguments = commonArgs;
let builders = [
- // Build a call op for a direct call
- OpBuilder<(ins "mlir::SymbolRefAttr":$callee, "mlir::Type":$resType,
- "mlir::ValueRange":$operands), [{
+ // Build a call op for a direct call
+ OpBuilder<(ins "mlir::SymbolRefAttr":$callee, "mlir::Type":$resType,
----------------
andykaylor wrote:
The indentation is off here. The builder signature shouldn't be aligned with the body.
https://github.com/llvm/llvm-project/pull/144201
More information about the cfe-commits
mailing list