[llvm-commits] [llvm] r92575 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
David Greene
greened at obbligato.org
Mon Jan 4 17:24:53 PST 2010
Author: greened
Date: Mon Jan 4 19:24:53 2010
New Revision: 92575
URL: http://llvm.org/viewvc/llvm-project?rev=92575&view=rev
Log:
Change errs() to dbgs().
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp?rev=92575&r1=92574&r2=92575&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp Mon Jan 4 19:24:53 2010
@@ -32,6 +32,7 @@
#include "llvm/GlobalVariable.h"
#include "llvm/LLVMContext.h"
#include "llvm/Support/CommandLine.h"
+#include "llvm/Support/Debug.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/raw_ostream.h"
@@ -950,9 +951,9 @@
switch (Node->getOpcode()) {
default:
#ifndef NDEBUG
- errs() << "NODE: ";
- Node->dump(&DAG);
- errs() << "\n";
+ dbgs() << "NODE: ";
+ Node->dump( &DAG);
+ dbgs() << "\n";
#endif
llvm_unreachable("Do not know how to legalize this operator!");
More information about the llvm-commits
mailing list