[PATCH] D52327: [Loop Vectorizer] Abandon vectorization when no integer IV found

Hal Finkel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 21 14:27:02 PDT 2018


hfinkel added a comment.

In https://reviews.llvm.org/D52327#1242561, @efriedma wrote:

> If there's some actual implementation work involved in supporting it, fine, I guess... but it seems like it can't be much work to support properly: even just adding an unused i1 induction variable is enough to get around the crash for the given testcase.


Interesting, although given that the loop runs for more than one iteration, would that i1 variable work correctly? The real question is: can we compute the trip count for these loops? I'd guess that we need to do that too.


https://reviews.llvm.org/D52327





More information about the llvm-commits mailing list