[llvm-branch-commits] [llvm] [LAA] Use PSE::getSymbolicMaxBackedgeTakenCount. (PR #93499)

Philip Reames via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue May 28 13:34:05 PDT 2024


================
@@ -1506,6 +1506,16 @@ bool LoopVectorizationLegality::canVectorize(bool UseVPlanNativePath) {
       return false;
   }
 
+  if (isa<SCEVCouldNotCompute>(PSE.getBackedgeTakenCount())) {
----------------
preames wrote:

What about the other users of LAA in tree?  Have you audited them?  If not, can you add bailouts to ensure we're not breaking anything with this transition?

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


More information about the llvm-branch-commits mailing list