[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 07:52:30 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:
Another reason not to use DenseMap: the iteration order here will be undefined, so we will get spurious differences in MIR output printing.
https://github.com/llvm/llvm-project/pull/129847
More information about the llvm-commits
mailing list