[llvm] [VPlan] Make canonical IV part of the region (PR #156262)
    Florian Hahn via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Oct 21 13:25:43 PDT 2025
    
    
  
================
@@ -801,7 +800,7 @@ static VPValue *optimizeEarlyExitInductionUser(VPlan &Plan,
 
   // Calculate the final index.
   VPValue *EndValue = Plan.getCanonicalIV();
-  auto CanonicalIVType = Plan.getCanonicalIV()->getScalarType();
+  auto CanonicalIVType = TypeInfo.inferScalarType(EndValue);
----------------
fhahn wrote:
Done, thanks
https://github.com/llvm/llvm-project/pull/156262
    
    
More information about the llvm-commits
mailing list