[llvm] r222789 - R600/SI: Only use one DEBUG()
Matt Arsenault
Matthew.Arsenault at amd.com
Tue Nov 25 13:03:22 PST 2014
Author: arsenm
Date: Tue Nov 25 15:03:22 2014
New Revision: 222789
URL: http://llvm.org/viewvc/llvm-project?rev=222789&view=rev
Log:
R600/SI: Only use one DEBUG()
Modified:
llvm/trunk/lib/Target/R600/SIFixSGPRCopies.cpp
Modified: llvm/trunk/lib/Target/R600/SIFixSGPRCopies.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/SIFixSGPRCopies.cpp?rev=222789&r1=222788&r2=222789&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/SIFixSGPRCopies.cpp (original)
+++ llvm/trunk/lib/Target/R600/SIFixSGPRCopies.cpp Tue Nov 25 15:03:22 2014
@@ -217,8 +217,7 @@ bool SIFixSGPRCopies::runOnMachineFuncti
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();
More information about the llvm-commits
mailing list