[llvm] [SLP]Initial support for non-power-of-2 (but still whole register) number of elements in operands. (PR #107273)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 26 04:53:39 PDT 2024


alexey-bataev wrote:

> ```c
> typedef struct {
>   int *a[][4]
> } b;
> void *c;
> int d;
> void e() {
>   b *f = c;
>   int g, h = d;
>   g = 0;
>   for (; g < h; g++)
>     f->a[1][2][g] = f->a[1][3][g] = f->a[2][0][g] = f->a[2][1][g] =
>         f->a[2][2][g] = f->a[2][3][g] = f->a[3][0][g] = f->a[3][1][g] =
>             f->a[3][2][g] = 0;
> }
> ```

Fixed in 100fd0cd5ac229d1aafc4af60e8b0440274d5713

https://github.com/llvm/llvm-project/pull/107273


More information about the llvm-commits mailing list