[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:55 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 =
----------------
andykaylor wrote:
Why did you make this change?
https://github.com/llvm/llvm-project/pull/144201
More information about the cfe-commits
mailing list