[PATCH] D102748: [LoopUnroll] Don't unroll before vectorisation

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 1 07:56:09 PDT 2021


xbolva00 added a comment.

In D102748#2778813 <https://reviews.llvm.org/D102748#2778813>, @xbolva00 wrote:

> And there is something weird in terms of cost modelling between vectorizers.
>
> See https://bugs.llvm.org/show_bug.cgi?id=47491
>
> If we dont unroll the loop, llvm loop vectorizer vectorizes the loop (cost model says it is profitable).
>
> If we unroll the loop, slp does not vectorize the unrolled loop.

And other one: https://bugs.llvm.org/show_bug.cgi?id=50552 ... SLP just misses currently these patterns.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102748/new/

https://reviews.llvm.org/D102748



More information about the llvm-commits mailing list