summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineSink.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-08-22 20:26:23 +0000
committerBill Wendling <isanbard@gmail.com>2009-08-22 20:26:23 +0000
commit63aa00005259a94038fea924f012ce45cc3900dc (patch)
tree074c682675874194f4abcc569e91f10c0d1dfcfe /llvm/lib/CodeGen/MachineSink.cpp
parent8781b35be5a2fcec5b8fd2c04a7de4f896c9fdd0 (diff)
downloadbcm5719-llvm-63aa00005259a94038fea924f012ce45cc3900dc.tar.gz
bcm5719-llvm-63aa00005259a94038fea924f012ce45cc3900dc.zip
Convert DOUT to DEBUG(errs()...).
llvm-svn: 79755
Diffstat (limited to 'llvm/lib/CodeGen/MachineSink.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineSink.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineSink.cpp b/llvm/lib/CodeGen/MachineSink.cpp
index d158c481ee1..fbb8867be47 100644
--- a/llvm/lib/CodeGen/MachineSink.cpp
+++ b/llvm/lib/CodeGen/MachineSink.cpp
@@ -26,6 +26,7 @@
#include "llvm/ADT/Statistic.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Debug.h"
+#include "llvm/Support/raw_ostream.h"
using namespace llvm;
STATISTIC(NumSunk, "Number of machine instructions sunk");
@@ -91,7 +92,7 @@ bool MachineSinking::AllUsesDominatedByBlock(unsigned Reg,
bool MachineSinking::runOnMachineFunction(MachineFunction &MF) {
- DOUT << "******** Machine Sinking ********\n";
+ DEBUG(errs() << "******** Machine Sinking ********\n");
CurMF = &MF;
TM = &CurMF->getTarget();
OpenPOWER on IntegriCloud