[PATCH] D103170: [CodeGen][AArch64][SVE] Use ld1r[bhsd] for vector splat from memory

Peter Waller via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 1 04:30:23 PDT 2021


peterwaller-arm added a comment.

In D103170#2808815 <https://reviews.llvm.org/D103170#2808815>, @efriedma wrote:

> Maybe add a testcase for splat of a constant?  Not sure what the code generation should look like, but it would be good to have coverage.

@efriedma I wasn't sure why you might be after for splat-of-constant, since this is about reading from memory. Are you thinking of splat-of-constant where the constant is out of range for an immediate? Something like https://github.com/llvm/llvm-project/blob/0596f7d828436e7db85154f2815eb3ff32d505af/llvm/test/CodeGen/AArch64/sve-intrinsics-dup-x.ll ? Or something else? Thanks for your review!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103170



More information about the llvm-commits mailing list