[PATCH] D54482: RegisterCoalescer: Add LaneMask to debug printing

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 13 10:51:22 PST 2018


arsenm created this revision.
arsenm added a reviewer: MatzeB.
Herald added subscribers: tpr, wdng, qcolombet.

https://reviews.llvm.org/D54482

Files:
  lib/CodeGen/RegisterCoalescer.cpp


Index: lib/CodeGen/RegisterCoalescer.cpp
===================================================================
--- lib/CodeGen/RegisterCoalescer.cpp
+++ lib/CodeGen/RegisterCoalescer.cpp
@@ -2782,7 +2782,8 @@
     if (V.Resolution != CR_Unresolved)
       continue;
     LLVM_DEBUG(dbgs() << "\t\tconflict at " << printReg(Reg) << ':' << i << '@'
-                      << LR.getValNumInfo(i)->def << '\n');
+                      << LR.getValNumInfo(i)->def
+                      << ' ' << PrintLaneMask(LaneMask) << '\n');
     if (SubRangeJoin)
       return false;
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54482.173884.patch
Type: text/x-patch
Size: 570 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181113/db0889d8/attachment.bin>


More information about the llvm-commits mailing list