[llvm] [VPlan] Make CanIV part of region. (PR #144803)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 25 14:29:46 PDT 2025


================
@@ -2344,17 +2360,16 @@ bool VPlanTransforms::tryAddExplicitVectorLength(
 
   auto *NextEVLIV = Builder.createOverflowingOp(
       Instruction::Add, {OpVPEVL, EVLPhi},
-      {CanonicalIVIncrement->hasNoUnsignedWrap(),
-       CanonicalIVIncrement->hasNoSignedWrap()},
+      {CanonicalIV->hasNoUnsignedWrap(), false},
----------------
fhahn wrote:

Yes, currently sign-wrap was never set.

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


More information about the llvm-commits mailing list