[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


================
@@ -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();
----------------
preames wrote:

Update the comments to say bound on the btc.

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


More information about the llvm-branch-commits mailing list