[PATCH] D158988: [LV] Choose the wider VF where they have same cost
Allen zhong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 31 00:28:12 PDT 2023
Allen added a comment.
In D158988#4625738 <https://reviews.llvm.org/D158988#4625738>, @kmclaughlin wrote:
> Hi @Allen,
> I recently submitted D157628 <https://reviews.llvm.org/D157628>, which lowers the cost of extends when they can be folded into a urhadd or srhadd instruction.
> The tests I added are similar the one in this patch, so I was wondering if D157628 <https://reviews.llvm.org/D157628> may have fixed the same issue as your changes?
Thanks your information, I tried your PR and find it only affected the fixed length VF, so it will still prefer the **vscale x 8** with your PR.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158988/new/
https://reviews.llvm.org/D158988
More information about the llvm-commits
mailing list