5 Commits

Author SHA1 Message Date
David Green
21a97a2ac1 [AArch64] TBL uses zero for out of range elements.
A TBL instruction will use zero for any out of range values. We can use
this in GenerateTBL to help turn a TBL2 into a TBL1, avoiding the need
to materialise the zero.

Differential Revision: https://reviews.llvm.org/D121139
2022-03-10 14:45:13 +00:00
Florian Hahn
3836003e87
[AArch64] Add test for D120481 with multiple uses. 2022-03-08 11:11:03 +00:00
Florian Hahn
c679fbee2a
[AArch64] Add tests for tbl + cmp splitting.
Additional tests showing potential for follow-ups after
D120571.
2022-02-25 17:59:44 +00:00
Florian Hahn
5910150140
[AArch64] Simplify and extend tests added in 0c5ea01b20623e40. 2022-02-24 14:51:43 +00:00
Florian Hahn
0c5ea01b20
[AArch64] Add vector select test showing redundant operations.
The tests show sub-optimal lowering of extend/cmp/select chains starting
with v16i8 vectors.
2022-02-24 12:12:21 +00:00