We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 845f449 commit c36c8f6Copy full SHA for c36c8f6
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -4514,11 +4514,11 @@ static bool hasReplicatorRegion(VPlan &Plan) {
4514
[](auto *VPRB) { return VPRB->isReplicator(); });
4515
}
4516
4517
+#ifndef NDEBUG
4518
/// Estimate the register usage for \p Plan and vectorization factors in \p VFs
4519
/// by calculating the highest number of values that are live at a single
4520
/// location as a rough estimate. Returns the register usage for each VF in \p
4521
/// VFs.
-#ifndef NDEBUG
4522
static SmallVector<LoopVectorizationCostModel::RegisterUsage, 8>
4523
calculateRegisterUsage(VPlan &Plan, ArrayRef<ElementCount> VFs,
4524
const TargetTransformInfo &TTI,
0 commit comments