[llvm] 0d47399 - GlobalISel: Update syntax in debug printing

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 24 07:37:45 PST 2019


Author: Matt Arsenault
Date: 2019-12-24T10:37:36-05:00
New Revision: 0d47399167eee87711f5c93a3f36801c7b6a6774

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

LOG: GlobalISel: Update syntax in debug printing

Physical register names now start with $, not %

Added: 
    

Modified: 
    llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp b/llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp
index 3fcc55286beb..a9173616f40b 100644
--- a/llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp
+++ b/llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp
@@ -444,7 +444,7 @@ void RegisterBankInfo::applyDefaultMapping(const OperandsMapper &OpdMapper) {
       continue;
     }
     if (!MO.getReg()) {
-      LLVM_DEBUG(dbgs() << " is %%noreg, nothing to be done\n");
+      LLVM_DEBUG(dbgs() << " is $noreg, nothing to be done\n");
       continue;
     }
     assert(OpdMapper.getInstrMapping().getOperandMapping(OpIdx).NumBreakDowns !=


        


More information about the llvm-commits mailing list