[llvm] [VPlan] Add transformation to narrow interleave groups. (PR #106441)
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 17 13:02:11 PST 2024
================
@@ -939,8 +939,13 @@ 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");
unsigned UF = getUF();
+
+ if (VFxUF.getNumUsers() == 0) {
+ assert(VF.getNumUsers() == 0 && "expected no users of VF");
----------------
alexey-bataev wrote:
This assertion is meaningless
https://github.com/llvm/llvm-project/pull/106441
More information about the llvm-commits
mailing list