aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp')
-rw-r--r--llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp b/llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
index aee9718..4d4674b 100644
--- a/llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
+++ b/llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
@@ -1686,7 +1686,8 @@ void CHR::transformScopes(CHRScope *Scope, DenseSet<PHINode *> &TrivialPHIs) {
for (RegInfo &RI : Scope->RegInfos) {
const Region *R = RI.R;
unsigned Duplication = getRegionDuplicationCount(R);
- dbgs() << "Dup count for R=" << R << " is " << Duplication << "\n";
+ CHR_DEBUG(dbgs() << "Dup count for R=" << R << " is " << Duplication
+ << "\n");
if (Duplication >= CHRDupThreshsold) {
CHR_DEBUG(dbgs() << "Reached the dup threshold of " << Duplication
<< " for this region");