[PATCH] D32166: Improve LoopVectorizers estimation of scalar loops by predicting LSR behaviour

Jonas Paulsson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 31 01:21:35 PDT 2017


jonpa added a comment.

>> In this sense, isn't the loop vectorizer run too early?
> 
> That's a good question, one that may be found our by adding it to just before the loop vectoriser and see how compile time increases proportional to the run-time performance benefits of standard benchmarks.

I tried this - adding LSR just before loop vectorizer, and found that it did indeed affect a few benchmarks noticeably, with mixed results.


https://reviews.llvm.org/D32166





More information about the llvm-commits mailing list