[llvm] [VPlan] Remove loop region in optimizeForVFAndUF. (PR #108378)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 3 12:40:28 PST 2025


================
@@ -936,7 +935,6 @@ void VPlan::prepareToExecute(Value *TripCountV, Value *VectorTripCountV,
 
   IRBuilder<> Builder(State.CFG.PrevBB->getTerminator());
   // FIXME: Model VF * UF computation completely in VPlan.
-  assert(VFxUF.getNumUsers() && "VFxUF expected to always have users");
----------------
fhahn wrote:

We may remove the users (the canonical IV increment). Updated to account for that in assertion

https://github.com/llvm/llvm-project/pull/108378


More information about the llvm-commits mailing list