Skip to content

Commit ce446a8

Browse files
committed
NFC: Move comment below ifndef NDEBUG
1 parent fa7b725 commit ce446a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4341,11 +4341,11 @@ static bool hasReplicatorRegion(VPlan &Plan) {
43414341
[](auto *VPRB) { return VPRB->isReplicator(); });
43424342
}
43434343

4344+
#ifndef NDEBUG
43444345
/// Estimate the register usage for \p Plan and vectorization factors in \p VFs
43454346
/// by calculating the highest number of values that are live at a single
43464347
/// location as a rough estimate. Returns the register usage for each VF in \p
43474348
/// VFs.
4348-
#ifndef NDEBUG
43494349
static SmallVector<LoopVectorizationCostModel::RegisterUsage, 8>
43504350
calculateRegisterUsage(VPlan &Plan, ArrayRef<ElementCount> VFs,
43514351
const TargetTransformInfo &TTI,

0 commit comments

Comments
 (0)