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

Fraser Cormack via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 10 03:50:29 PDT 2021


frasercrmck added a comment.

In D109509#2994157 <https://reviews.llvm.org/D109509#2994157>, @sdesmalen wrote:

> 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.

My bad, I should have been clearer. I hope I wasn't too hasty in my suggestion; I was initially thinking of something like `<vscale x 3 x i4>` from `<vscale x 9 x i4>` but they both need promoting //and// widening, and now I've forgotten in which order those take place.


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