[PATCH] D28907: [SLP] Fix for PR30787: Failure to beneficially vectorize 'copyable' elements in integer binary ops.

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 22 16:08:23 PDT 2021


xbolva00 added a comment.

In D28907#2770984 <https://reviews.llvm.org/D28907#2770984>, @ABataev wrote:

> In D28907#2770982 <https://reviews.llvm.org/D28907#2770982>, @SjoerdMeijer wrote:
>
>> Hello, this work was brought to my attention in D102748 <https://reviews.llvm.org/D102748>. Would be good to get this in, and seems almost finished too. Any plans to pick this up? Otherwise I think I would be interested in doing that.
>
> This should be much easier to implement after non-power-2 in SLP support.

Can you explain why?

x1 + 1
x2
x3 + 6
x4 + 8

How that patch will help you? You neee to add “fake” noop addition  “ + 0” for x2.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D28907



More information about the llvm-commits mailing list