[llvm] [NFC][LLVM] Refactor MachineInstr operand accessors (PR #137261)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 24 16:16:33 PDT 2025


topperc wrote:

> Move non-const getMF() to the .cpp file and remove const casting.

Why? We do this in many places in tree. Now we have two identical functions in the final binary.

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


More information about the llvm-commits mailing list