[clang] [CIR] Add side effect attribute to call operations (PR #144201)

Sirui Mu via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 17 07:38:15 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,
----------------
Lancern wrote:

Seems like the format changes of TableGen files are due to `git clang-format`. I reverted all such changes.

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


More information about the cfe-commits mailing list