[llvm] [LV] Pass symbolic VF to CalculateTripCountMinusVF and CanonicalIVIncrementForPart (NFC) (PR #180542)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 13 03:08:22 PST 2026


================
@@ -467,7 +467,7 @@ void VPlanTransforms::unrollByUF(VPlan &Plan, unsigned UF) {
         auto *VPI = dyn_cast<VPInstruction>(&R);
         if (VPI &&
             VPI->getOpcode() == VPInstruction::CanonicalIVIncrementForPart &&
-            VPI->getNumOperands() == 1) {
----------------
fhahn wrote:

Great! It should allow a few more folds/CSE

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


More information about the llvm-commits mailing list