3 Commits

Author SHA1 Message Date
chuongg3
9b5971ad03
[AArch64][GlobalISel] Lower G_BUILD_VECTOR to G_INSERT_VECTOR_ELT (#105686)
The lowering happens in post-legalizer lowering if any source registers
from G_BUILD_VECTOR are not constants.

Add pattern pragment setting `scalar_to_vector ($src)` asequivalent to
`vector_insert (undef), ($src), (i61 0)`
2024-09-03 18:55:23 -07:00
David Green
02cb7c9ef5 [AArch64][GlobalISel] Libcall i128 srem/urem and scalarize more vector types.
This better handles i128 scalar and vector types, and allows some of the other
odd-sized-vectors to successfully lower under GISel.
2024-08-22 11:39:27 +01:00
David Green
93a9406af5 [AArch64] Add GISel srem/urem tests of various sizes. NFC 2024-08-22 11:39:27 +01:00