[llvm] [NFC][LLVM][CodeGen] Refactor MachineInstr operand accessors (PR #137261)
Rahul Joshi via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 30 09:41:17 PDT 2025
================
@@ -676,68 +672,61 @@ class MachineInstr
const_mop_iterator operands_begin() const { return Operands; }
const_mop_iterator operands_end() const { return Operands + NumOperands; }
- iterator_range<mop_iterator> operands() {
- return make_range(operands_begin(), operands_end());
+ MutableArrayRef<MachineOperand> operands() {
----------------
jurahul wrote:
@s-barannikov will wait a couple of days to give you a chance to look as well.
https://github.com/llvm/llvm-project/pull/137261
More information about the llvm-commits
mailing list