[llvm] [LoopVectorize] In LoopVectorize.cpp start using getSymbolicMaxBackedgeTakenCount (PR #108833)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 30 13:57:53 PDT 2024


================
@@ -9584,7 +9584,7 @@ static bool processLoopInVPlanNativePath(
     ProfileSummaryInfo *PSI, LoopVectorizeHints &Hints,
     LoopVectorizationRequirements &Requirements) {
 
-  if (isa<SCEVCouldNotCompute>(PSE.getBackedgeTakenCount())) {
+  if (isa<SCEVCouldNotCompute>(PSE.getSymbolicMaxBackedgeTakenCount())) {
----------------
fhahn wrote:

Would it be possible to add a test case?

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


More information about the llvm-commits mailing list