9 Commits

Author SHA1 Message Date
Nikita Popov
e3adc6a1f7 [ScalarizeMaskedMemIntrin] Add missing lit.local.cfg (NFC) 2023-10-23 15:08:53 +02:00
Igor Kirillov
b507509f6a
[AArch64] Allow SVE code generation for fixed-width vectors (#67122)
This patch allows the generation of SVE code with masks that mimic Neon.
2023-10-23 12:41:34 +01:00
Arthur Eubanks
45391e1394 [test] Remove unnecessary -enable-new-pm=0 2023-02-27 14:17:24 -08:00
Roman Lebedev
e417a7d122
[NFC] Port all ScalarizeMaskedMemIntrin tests to -passes= syntax 2022-12-08 02:38:50 +03:00
David Sherwood
a043fcf92f [AArch64] Fix test streaming-compatible-expand-masked-gather-scatter.ll
Fixes an issue introduced by D138588.

We should only run the test on a aarch64 registered target since it
makes use of a target-only flag.
2022-12-01 10:49:02 +00:00
Hassnaa Hamdi
942f3ee408 [AArch64][SME]: Scalarize masked gather/scatter in streaming mode.
Add testing files:
 - streaming-compatible-expand-masked-gather-scatter.ll

Reviewed By: david-arm, sdesmalen

Differential Revision: https://reviews.llvm.org/D138588
2022-12-01 02:54:01 +00:00
Matt Arsenault
9e5fa4b405 ScalarizeMaskedMemIntrin: Convert tests to opaque pointers
This was as easy as running the script and running
update_test_checks. I did notice the pass produces some GEPs with 0
indexes, such that running the opaquify script a second time produces
a diff.
2022-11-28 09:08:31 -05:00
Markus Lavin
9498315c9b Expand masked mem intrinsics correctly wrt big-endian
Need to take endianness into account when doing vector to scalar casts
such as %bc = bitcast <8 x i1> %v to i8
Companion commit for https://reviews.llvm.org/D94867
Upload in response to
https://lists.llvm.org/pipermail/llvm-dev/2021-January/147862.html
Attempting to document the actual memory layout rules for vectors in
https://reviews.llvm.org/D94964

Differential Revision: https://reviews.llvm.org/D94765
2021-02-11 08:59:52 +00:00
Paul Walker
6b403319f8 [SVE] Scalarize fixed length masked loads and stores.
When adding support for scalable vector masked loads and stores we
accidently opened up likewise for fixed length vectors. This patch
restricts support to scalable vectors only, thus ensuring fixed
length vectors are treated the same regardless of SVE support.

Differential Revision: https://reviews.llvm.org/D83341
2020-07-09 10:47:04 +00:00