[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:39:24 PDT 2025
================
@@ -24,16 +24,17 @@ let cppNamespace = "::cir" in {
def CIRCallOpInterface : OpInterface<"CIRCallOpInterface", [CallOpInterface]> {
// Currently we don't have any methods defined in CIRCallOpInterface. We'll
// add more methods as the upstreaming proceeds.
- let methods = [
- InterfaceMethod<
- "Return the operand at index 'i', accounts for indirect call or "
- "exception info",
- "mlir::Value", "getArgOperand",
- (ins "unsigned":$i)>,
- InterfaceMethod<
- "Return the number of operands, accounts for indirect call or "
- "exception info",
- "unsigned", "getNumArgOperands", (ins)>,
+ let methods =
----------------
Lancern wrote:
Same here, it is introduced by `git clang-format`. I didn't check its changes. Reverted format changes.
https://github.com/llvm/llvm-project/pull/144201
More information about the cfe-commits
mailing list