[PATCH] D109509: [SelectionDAG] PromoteIntRes_EXTRACT_SUBVECTOR for scalable vectors (widening).

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 10 03:42:45 PDT 2021


sdesmalen added a comment.

In D109509#2994154 <https://reviews.llvm.org/D109509#2994154>, @frasercrmck wrote:

> In D109509#2994149 <https://reviews.llvm.org/D109509#2994149>, @sdesmalen wrote:
>
>> In D109509#2991655 <https://reviews.llvm.org/D109509#2991655>, @frasercrmck wrote:
>>
>>> Do you think it'd be possible to add RVV tests too? `vscale x 2` doesn't need widening but `vscale x 3` or something would.
>>
>> Sure np. I've copied the same tests that I added for AArch64 and re-ran the update-test-checks script.
>
> Thanks! But `<vscale x 2 x i8>` isn't illegal for us so, if I'm not mistaken, it's not hitting this particular promotion path.

Ah, sorry I misunderstood that!

What result type would require promotion? I'd need an example where the result would need to be promoted and the input widened.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109509



More information about the llvm-commits mailing list