[llvm] [AMDGPU][AsmParser] Simplify getting source locations of operands. (PR #158323)
Stanislav Mekhanoshin via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 12 12:33:22 PDT 2025
================
@@ -228,6 +213,9 @@ class AMDGPUOperand : public MCParsedAsmOperand {
const MCExpr *Expr;
};
+ // The index of the associated MCInst operand.
+ mutable int MCOpIdx = -1;
----------------
rampitec wrote:
Can mutable be avoided?
https://github.com/llvm/llvm-project/pull/158323
More information about the llvm-commits
mailing list