[PATCH] D103629: [AArch64] Cost-model i8 vector loads/stores

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 3 13:16:57 PDT 2021


efriedma added a comment.

> And while we don't have a load instruction that supports this

If `<4 x i8>` loads matter, we should probably convert them to a 32-bit load followed by a zip1, which should would have a cost of 2.  (Or possibly 3 on big-endian, I guess.)  Basically the inverse of LowerTruncateVectorStore.


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

https://reviews.llvm.org/D103629



More information about the llvm-commits mailing list