[PATCH] D148347: [AArch64] Handle vector with two different values

JinGu Kang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 19 01:59:52 PDT 2023


jaykang10 updated this revision to Diff 514863.
jaykang10 added a comment.

@efriedma I have updated this patch with vector_shuffle and have checked the impact.
As you can see, the vector_shuffle generates more instructions on the vectors with small number of lanes so it could be good to enable this transformation with more than 8 lanes.
How do you think about it?


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

https://reviews.llvm.org/D148347

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/test/CodeGen/AArch64/arm64-dup.ll
  llvm/test/CodeGen/AArch64/build-vector-two-dup.ll
  llvm/test/CodeGen/AArch64/concat_vector-scalar-combine.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148347.514863.patch
Type: text/x-patch
Size: 6926 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230419/a6ac1491/attachment.bin>


More information about the llvm-commits mailing list