[SVE][CodeGen] Add a DAG combine to extend mscatter indices
commit603d40da9d532ab4706e32c07aba339e180ed865
authorKerry McLaughlin <kerry.mclaughlin@arm.com>
Wed, 25 Nov 2020 10:54:31 +0000 (25 10:54 +0000)
committerKerry McLaughlin <kerry.mclaughlin@arm.com>
Wed, 25 Nov 2020 11:18:22 +0000 (25 11:18 +0000)
tree7c82d7f374efbec49a3d57d8f21f68910e9539db
parent1c3451c665f9deacb55a4bf38c038096fc93d094
[SVE][CodeGen] Add a DAG combine to extend mscatter indices

This patch adds a target-specific DAG combine for mscatter to promote indices
with element types i8 or i16 before legalisation, plus various tests with illegal types.

Reviewed By: sdesmalen

Differential Revision: https://reviews.llvm.org/D90945
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/sve-masked-scatter-legalise.ll [new file with mode: 0644]