[polly] r311331 - [ManagedMemoryRewrite] hide debug output behing DEBUG(...). [NFC]

Siddharth Bhat via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 21 05:51:57 PDT 2017


Author: bollu
Date: Mon Aug 21 05:51:57 2017
New Revision: 311331

URL: http://llvm.org/viewvc/llvm-project?rev=311331&view=rev
Log:
[ManagedMemoryRewrite] hide debug output behing DEBUG(...). [NFC]

Modified:
    polly/trunk/lib/CodeGen/ManagedMemoryRewrite.cpp

Modified: polly/trunk/lib/CodeGen/ManagedMemoryRewrite.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGen/ManagedMemoryRewrite.cpp?rev=311331&r1=311330&r2=311331&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/ManagedMemoryRewrite.cpp (original)
+++ polly/trunk/lib/CodeGen/ManagedMemoryRewrite.cpp Mon Aug 21 05:51:57 2017
@@ -278,7 +278,7 @@ static void getAllocasToBeManaged(Functi
       auto *Alloca = dyn_cast<AllocaInst>(&I);
       if (!Alloca)
         continue;
-      dbgs() << "Checking if " << *Alloca << "may be captured: ";
+      DEBUG(dbgs() << "Checking if " << *Alloca << "may be captured: ");
 
       if (PointerMayBeCaptured(Alloca, /* ReturnCaptures */ false,
                                /* StoreCaptures */ true)) {




More information about the llvm-commits mailing list