Skip to content

Commit 0445940

Browse files
committed
revert a couple debug prints
1 parent 5665ac0 commit 0445940

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1172,8 +1172,7 @@ tryToUnrollLoop(Loop *L, DominatorTree &DT, LoopInfo *LI, ScalarEvolution &SE,
11721172

11731173
LLVM_DEBUG(dbgs() << "Loop Unroll: F["
11741174
<< L->getHeader()->getParent()->getName() << "] Loop %"
1175-
<< L->getHeader()->getName() << " Full=" << OnlyFullUnroll
1176-
<< " Loc=" << L->getLocStr() << "\n");
1175+
<< L->getHeader()->getName() << "\n");
11771176
TransformationMode TM = hasUnrollTransformation(L);
11781177
if (TM & TM_Disable)
11791178
return LoopUnrollResult::Unmodified;
@@ -1220,8 +1219,6 @@ tryToUnrollLoop(Loop *L, DominatorTree &DT, LoopInfo *LI, ScalarEvolution &SE,
12201219
ProvidedFullUnrollMaxCount);
12211220
TargetTransformInfo::PeelingPreferences PP = gatherPeelingPreferences(
12221221
L, SE, TTI, ProvidedAllowPeeling, ProvidedAllowProfileBasedPeeling, true);
1223-
LLVM_DEBUG(dbgs() << " UP.Partial=" << UP.Partial
1224-
<< " UP.Runtime=" << UP.Runtime << "\n");
12251222

12261223
// Exit early if unrolling is disabled. For OptForSize, we pick the loop size
12271224
// as threshold later on.

0 commit comments

Comments
 (0)