[PATCH] D147557: [SCEV] Improve AddRecs' range computation

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 5 02:03:01 PDT 2023


mkazantsev added inline comments.


================
Comment at: llvm/lib/Analysis/ScalarEvolution.cpp:6712
       const SCEV *MaxBECount =
           getConstantMaxBackedgeTakenCount(AddRec->getLoop());
       if (!isa<SCEVCouldNotCompute>(MaxBECount) &&
----------------
Refactor with moving `const Loop *L = AddRec->getLoop();` earlier?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D147557/new/

https://reviews.llvm.org/D147557



More information about the llvm-commits mailing list