[PATCH] D38825: [SCEV] Teach SCEV to find maxBECount when loop endbound is variant

Sanjoy Das via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 13 09:59:34 PDT 2017


sanjoy added inline comments.


================
Comment at: llvm/trunk/lib/Analysis/ScalarEvolution.cpp:9692
 
+const SCEV *ScalarEvolution::computeMaxBECount(const SCEV *Start,
+                                               const SCEV *Stride,
----------------
This logic is specific to {Start,+,Stride} SLT End, right?  If so, please name it in a way to make that obvious and mention that in the comment.


Repository:
  rL LLVM

https://reviews.llvm.org/D38825





More information about the llvm-commits mailing list