[llvm] [WIP][CodeGen] Modifying MBB's liveins representation as into regUnits (PR #129847)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Fri May 16 03:34:56 PDT 2025
================
@@ -426,10 +427,8 @@ void MachineBasicBlock::print(raw_ostream &OS, ModuleSlotTracker &MST,
OS.indent(2) << "liveins: ";
ListSeparator LS;
- for (const auto &LI : liveins()) {
- OS << LS << printReg(LI.PhysReg, TRI);
- if (!LI.LaneMask.all())
- OS << ":0x" << PrintLaneMask(LI.LaneMask);
+ for (const MCRegister Reg : liveins()) {
----------------
jayfoad wrote:
Remove the `const`. (Pointers to const and const references are good, but plain const is not.)
https://github.com/llvm/llvm-project/pull/129847
More information about the llvm-commits
mailing list