================
@@ -3004,7 +3004,7 @@ void LoopAccessInfo::collectStridedAccess(Value 
*MemAccess) {
   // of various possible stride specializations, considering the alternatives
   // of using gather/scatters (if available).
 
-  const SCEV *BETakenCount = PSE->getBackedgeTakenCount();
+  const SCEV *BETakenCount = PSE->getSymbolicMaxBackedgeTakenCount();
----------------
preames wrote:

Not related to your change - but this whole block of code is just weird.  This 
is basically proving a more precise trip count, why is it in LAA at all?  
Wouldn't simply early exiting on small BTC loops be sufficient?

https://github.com/llvm/llvm-project/pull/93499
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to