[PATCH] D22377: [SCEV] trip count calculation for loops with unknown stride

Pankaj Chawla via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 14 13:24:37 PDT 2016


pankajchawla added inline comments.

================
Comment at: llvm/lib/Analysis/ScalarEvolution.cpp:8683
@@ +8682,3 @@
+    if (!PositiveStride) 
+      return getCouldNotCompute();
+    
----------------
eli.friedman wrote:
> I don't follow why this check is necessary.
Sorry, this is my first time using Phabricator. 
I replied to this in my non-inline comment.


https://reviews.llvm.org/D22377





More information about the llvm-commits mailing list