Skip to content

Commit 00471e2

Browse files
committed
!fixp address latest comments.
1 parent 8252b0c commit 00471e2

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

llvm/lib/Transforms/Vectorize/VPlan.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,6 @@ void VPlan::prepareToExecute(Value *TripCountV, Value *VectorTripCountV,
954954

955955
IRBuilder<> Builder(State.CFG.PrevBB->getTerminator());
956956
// FIXME: Model VF * UF computation completely in VPlan.
957-
assert(VFxUF.getNumUsers() && "VFxUF expected to always have users");
958957
unsigned UF = getUF();
959958
if (VF.getNumUsers()) {
960959
Value *RuntimeVF = getRuntimeVF(Builder, TCTy, State.VF);

llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,6 @@ static void recursivelyDeleteDeadRecipes(VPValue *V) {
668668
void VPlanTransforms::optimizeForVFAndUF(VPlan &Plan, ElementCount BestVF,
669669
unsigned BestUF,
670670
PredicatedScalarEvolution &PSE) {
671-
672671
assert(Plan.hasVF(BestVF) && "BestVF is not available in Plan");
673672
assert(Plan.hasUF(BestUF) && "BestUF is not available in Plan");
674673
VPBasicBlock *ExitingVPBB =

0 commit comments

Comments
 (0)