[llvm] [VPlan] Add specialized VPValue subclasses for different types (NFC) (PR #172758)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 28 08:07:33 PST 2025


================
@@ -4617,10 +4619,11 @@ void VPlanTransforms::materializeVectorTripCount(VPlan &Plan,
                                                  bool TailByMasking,
                                                  bool RequiresScalarEpilogue) {
   VPValue &VectorTC = Plan.getVectorTripCount();
-  assert(VectorTC.isLiveIn() && "vector-trip-count must be a live-in");
+  assert(isa<VPSymbolicValue>(VectorTC) &&
+         "vector-trip-count must be a live-in");
----------------
fhahn wrote:

updated to just say must be symbolic, thanks

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


More information about the llvm-commits mailing list