diff options
author | Mircea Trofin <mtrofin@google.com> | 2022-12-01 15:02:24 -0800 |
---|---|---|
committer | Mircea Trofin <mtrofin@google.com> | 2022-12-01 15:02:24 -0800 |
commit | cc1fd002bfbec8ab963f6333d187fe66ff6b1430 (patch) | |
tree | a22ab60115fc0d699a7a3f78ba53961c49d5df9c /llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp | |
parent | f885ae231033877abcabf921815f75fae310f6bf (diff) | |
download | llvm-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.cpp | 3 |
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"); |