[llvm] r289519 - [SCCP] Debug diagnostic goes under DEBUG(). NFCI.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 12 21:56:04 PST 2016


Author: davide
Date: Mon Dec 12 23:56:04 2016
New Revision: 289519

URL: http://llvm.org/viewvc/llvm-project?rev=289519&view=rev
Log:
[SCCP] Debug diagnostic goes under DEBUG(). NFCI.

Modified:
    llvm/trunk/lib/Transforms/Scalar/SCCP.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/SCCP.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/SCCP.cpp?rev=289519&r1=289518&r2=289519&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/SCCP.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/SCCP.cpp Mon Dec 12 23:56:04 2016
@@ -549,7 +549,7 @@ private:
 
   void visitInstruction(Instruction &I) {
     // If a new instruction is added to LLVM that we don't handle.
-    dbgs() << "SCCP: Don't know how to handle: " << I << '\n';
+    DEBUG(dbgs() << "SCCP: Don't know how to handle: " << I << '\n');
     markAnythingOverdefined(&I);   // Just in case
   }
 };




More information about the llvm-commits mailing list