[llvm] [WIP][CodeGen] Modifying MBB's liveins representation as into regUnits (PR #129847)
Vikash Gupta via llvm-commits
llvm-commits at lists.llvm.org
Sun May 18 23:47:10 PDT 2025
================
@@ -740,11 +740,12 @@ void MIPrinter::print(const MachineBasicBlock &MBB) {
if (!MBB.livein_empty()) {
const TargetRegisterInfo &TRI = *MRI.getTargetRegisterInfo();
OS.indent(2) << "liveins: ";
- ListSeparator LS;
- for (const auto &LI : MBB.liveins_dbg()) {
- OS << LS << printReg(LI.PhysReg, &TRI);
- if (!LI.LaneMask.all())
- OS << ":0x" << PrintLaneMask(LI.LaneMask);
+ bool First = true;
----------------
vg0204 wrote:
This is new to me, as it might have happened when rebased the tip on latest llvm main. But, noted!
https://github.com/llvm/llvm-project/pull/129847
More information about the llvm-commits
mailing list