[llvm] [VPlan] Strip dead code in replaceSymbolicStrides (NFC) (PR #164296)
    Florian Hahn via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Oct 21 06:46:08 PDT 2025
    
    
  
================
@@ -2909,13 +2909,6 @@ void VPlanTransforms::canonicalizeEVLLoops(VPlan &Plan) {
 void VPlanTransforms::replaceSymbolicStrides(
     VPlan &Plan, PredicatedScalarEvolution &PSE,
     const DenseMap<Value *, const SCEV *> &StridesMap) {
-  // Replace VPValues for known constant strides guaranteed by predicate scalar
----------------
fhahn wrote:
This still holds I think, it make ssure we only replace users that are guaranteed to be dominated by the runtime checks we insert.
https://github.com/llvm/llvm-project/pull/164296
    
    
More information about the llvm-commits
mailing list