aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
diff options
context:
space:
mode:
authorMircea Trofin <mtrofin@google.com>2022-12-01 15:02:24 -0800
committerMircea Trofin <mtrofin@google.com>2022-12-01 15:02:24 -0800
commitcc1fd002bfbec8ab963f6333d187fe66ff6b1430 (patch)
treea22ab60115fc0d699a7a3f78ba53961c49d5df9c /llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
parentf885ae231033877abcabf921815f75fae310f6bf (diff)
downloadllvm-cc1fd002bfbec8ab963f6333d187fe66ff6b1430.zip
llvm-cc1fd002bfbec8ab963f6333d187fe66ff6b1430.tar.gz
llvm-cc1fd002bfbec8ab963f6333d187fe66ff6b1430.tar.bz2
[NFC] Fix dbgs() statement in ControlHeightReduction
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");