Skip to content

Commit c36c8f6

Browse files
committed
NFC: Move comment below ifndef NDEBUG
1 parent 845f449 commit c36c8f6

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
@@ -4514,11 +4514,11 @@ static bool hasReplicatorRegion(VPlan &Plan) {
45144514
[](auto *VPRB) { return VPRB->isReplicator(); });
45154515
}
45164516

4517+
#ifndef NDEBUG
45174518
/// Estimate the register usage for \p Plan and vectorization factors in \p VFs
45184519
/// by calculating the highest number of values that are live at a single
45194520
/// location as a rough estimate. Returns the register usage for each VF in \p
45204521
/// VFs.
4521-
#ifndef NDEBUG
45224522
static SmallVector<LoopVectorizationCostModel::RegisterUsage, 8>
45234523
calculateRegisterUsage(VPlan &Plan, ArrayRef<ElementCount> VFs,
45244524
const TargetTransformInfo &TTI,

0 commit comments

Comments
 (0)