[llvm-commits] [llvm] r79748 - /llvm/trunk/lib/CodeGen/DeadMachineInstructionElim.cpp

Bill Wendling isanbard at gmail.com
Sat Aug 22 13:04:03 PDT 2009


Author: void
Date: Sat Aug 22 15:04:03 2009
New Revision: 79748

URL: http://llvm.org/viewvc/llvm-project?rev=79748&view=rev
Log:
Convert DOUT to DEBUG(errs()...).

Modified:
    llvm/trunk/lib/CodeGen/DeadMachineInstructionElim.cpp

Modified: llvm/trunk/lib/CodeGen/DeadMachineInstructionElim.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/DeadMachineInstructionElim.cpp?rev=79748&r1=79747&r2=79748&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/DeadMachineInstructionElim.cpp (original)
+++ llvm/trunk/lib/CodeGen/DeadMachineInstructionElim.cpp Sat Aug 22 15:04:03 2009
@@ -17,6 +17,7 @@
 #include "llvm/CodeGen/MachineRegisterInfo.h"
 #include "llvm/Support/Compiler.h"
 #include "llvm/Support/Debug.h"
+#include "llvm/Support/raw_ostream.h"
 #include "llvm/Target/TargetInstrInfo.h"
 #include "llvm/Target/TargetMachine.h"
 using namespace llvm;
@@ -110,7 +111,7 @@
 
       // If the instruction is dead, delete it!
       if (isDead(MI)) {
-        DOUT << "DeadMachineInstructionElim: DELETING: " << *MI;
+        DEBUG(errs() << "DeadMachineInstructionElim: DELETING: " << *MI);
         AnyChanges = true;
         MI->eraseFromParent();
         MIE = MBB->rend();





More information about the llvm-commits mailing list