[PATCH] D133116: [AArch64][SVE] Optimise repeated floating-point complex patterns to splat

Matt Devereau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 10 07:49:27 PST 2022


MattDevereau updated this revision to Diff 474547.
MattDevereau added a comment.

Added test `dupq_f32_repeat_complex_unordered` and `dupq_f32_repeat_complex_rev_unordered` which assert the simplifiction does not trigger when insert_vector_elt's indices are not incremental
Added test `dupq_f32_repeat_complex_rev` to assert the simplification takes place when starting from an insertelement into the final vector index.
Added tests `dupq_f16_repeat_complex_omit_pair` the simplification does not trigger when vector elements are unknown.
Added tests `dupq_f16_repeat_complex_mismatched_front`, `dupq_f16_repeat_complex_mismatched_end` and `dupq_f16_repeat_complex_mismatched_middle` to verify the simplifaction considers the full range of elements


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

https://reviews.llvm.org/D133116

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/test/CodeGen/AArch64/sve-intrinsics-perm-select.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133116.474547.patch
Type: text/x-patch
Size: 14184 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221110/e3c6399b/attachment.bin>


More information about the llvm-commits mailing list