R600/SI: Only use one DEBUG()
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 25 Nov 2014 21:03:22 +0000 (21:03 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 25 Nov 2014 21:03:22 +0000 (21:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222789 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/R600/SIFixSGPRCopies.cpp

index d6f4b4c..c7a16f4 100644 (file)
@@ -217,8 +217,7 @@ bool SIFixSGPRCopies::runOnMachineFunction(MachineFunction &MF) {
       switch (MI.getOpcode()) {
       default: continue;
       case AMDGPU::PHI: {
-        DEBUG(dbgs() << " Fixing PHI:\n");
-        DEBUG(MI.print(dbgs()));
+        DEBUG(dbgs() << "Fixing PHI: " << MI);
 
         for (unsigned i = 1; i < MI.getNumOperands(); i+=2) {
           unsigned Reg = MI.getOperand(i).getReg();