[PATCH] D47899: [SCEV] Implement (non-exact) getSmallConstantTripCountUpperBound

Krzysztof Parzyszek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 8 07:30:46 PDT 2018


kparzysz added a comment.

In https://reviews.llvm.org/D47899#1125752, @kparzysz wrote:

> In https://reviews.llvm.org/D47899#1125720, @efriedma wrote:
>
> > The predicated trip count computation isn't modeling the loop in your example well; it thinks the maximum trip count is 2.  But I guess that's okay.
>
>
> It was 4 yesterday.  I'll check it tomorrow when I'm back at work.


Confirmed: it computes it as 4.


Repository:
  rL LLVM

https://reviews.llvm.org/D47899





More information about the llvm-commits mailing list