diff options
author | Paul Walker <paul.walker@arm.com> | 2020-07-08 09:10:16 +0000 |
---|---|---|
committer | Paul Walker <paul.walker@arm.com> | 2020-07-08 09:49:28 +0000 |
commit | fb75451775f83c04d53e4e94bb4bd298ea9a882f (patch) | |
tree | 130be967ea8e4a3c0bd90d1caf037f53f5c0c8b8 /llvm/utils/UpdateTestChecks/common.py | |
parent | e9f943429c895e4d6d29505fab2fad365fe2766e (diff) | |
download | llvm-fb75451775f83c04d53e4e94bb4bd298ea9a882f.zip llvm-fb75451775f83c04d53e4e94bb4bd298ea9a882f.tar.gz llvm-fb75451775f83c04d53e4e94bb4bd298ea9a882f.tar.bz2 |
[SVE] Custom ISel for fixed length extract/insert_subvector.
We use extact_subvector and insert_subvector to "cast" between
fixed length and scalable vectors. This patch adds custom c++
based ISel for the following cases:
fixed_vector = ISD::EXTRACT_SUBVECTOR scalable_vector, 0
scalable_vector = ISD::INSERT_SUBVECTOR undef(scalable_vector), fixed_vector, 0
Which result in either EXTRACT_SUBREG/INSERT_SUBREG for NEON sized
vectors or COPY_TO_REGCLASS otherwise.
Differential Revision: https://reviews.llvm.org/D82871
Diffstat (limited to 'llvm/utils/UpdateTestChecks/common.py')
0 files changed, 0 insertions, 0 deletions