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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue May 28 21:55:12 PDT 2024


================
@@ -2395,7 +2395,7 @@ bool LoopAccessInfo::canAnalyzeLoop() {
   }
 
   // ScalarEvolution needs to be able to find the exit count.
-  const SCEV *ExitCount = PSE->getBackedgeTakenCount();
+  const SCEV *ExitCount = PSE->getSymbolicMaxBackedgeTakenCount();
----------------
fhahn wrote:

Updated, thanks!

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


More information about the llvm-commits mailing list