[PATCH] D82580: [RegisterCoalescer] Dumper for JoinVals

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 25 12:29:01 PDT 2020


arsenm added inline comments.


================
Comment at: llvm/lib/CodeGen/LiveInterval.cpp:1028
       if (vnum) OS << ' ';
-      OS << vnum << '@';
-      if (vni->isUnused()) {
-        OS << 'x';
-      } else {
-        OS << vni->def;
-        if (vni->isPHIDef())
-          OS << "-phi";
-      }
+      vni->print(OS);
     }
----------------
vpykhtin wrote:
> arsenm wrote:
> > It should print each on a different line?
> No, why?
You manually corrected the output to make it readable, since the one line is way too long. Why not just print it that way?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82580/new/

https://reviews.llvm.org/D82580





More information about the llvm-commits mailing list