[llvm] f270da6 - RegisterCoalescer: Add LaneMask to debug printing

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 10 12:34:43 PST 2020


Author: Matt Arsenault
Date: 2020-02-10T12:34:33-08:00
New Revision: f270da6bfcbed6247075195e46b88702e8d3859d

URL: https://github.com/llvm/llvm-project/commit/f270da6bfcbed6247075195e46b88702e8d3859d
DIFF: https://github.com/llvm/llvm-project/commit/f270da6bfcbed6247075195e46b88702e8d3859d.diff

LOG: RegisterCoalescer: Add LaneMask to debug printing

Added: 
    

Modified: 
    llvm/lib/CodeGen/RegisterCoalescer.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/CodeGen/RegisterCoalescer.cpp b/llvm/lib/CodeGen/RegisterCoalescer.cpp
index a3f75d82d0ec..00baa23e3716 100644
--- a/llvm/lib/CodeGen/RegisterCoalescer.cpp
+++ b/llvm/lib/CodeGen/RegisterCoalescer.cpp
@@ -2885,7 +2885,8 @@ bool JoinVals::resolveConflicts(JoinVals &Other) {
     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;
 


        


More information about the llvm-commits mailing list