[PATCH] D147678: [LegalizeTypes][AArch64] Use scalar_to_vector to eliminate bitcast

Allen zhong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 13 03:16:50 PDT 2023


Allen added a comment.

In D147678#4416884 <https://reviews.llvm.org/D147678#4416884>, @dmgreen wrote:

> Thanks for doing this. That's great.
>
> The v2i8 version doesn't look too efficient with it moving back and forth, but they all look better than going via the stack. LGTM, thanks.

I add a comment on **https://github.com/llvm/llvm-project/issues/61638#issuecomment-1495316614**,  these issue can produce efficient assemble (only a **fmov s0, w0** as expected), but there is too many tests affected.
so I'm not sure if this is a direction for further optimization?


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

https://reviews.llvm.org/D147678



More information about the llvm-commits mailing list