OSDN Git Service

[ARM] Add MVE_TwoOpPattern. NFC
authorDavid Green <david.green@arm.com>
Tue, 21 Jul 2020 18:51:04 +0000 (19:51 +0100)
committerDavid Green <david.green@arm.com>
Tue, 21 Jul 2020 18:51:37 +0000 (19:51 +0100)
commit1030e82598da4fcdc096bdd6b6da89635aa3aba6
treea60ecd18e741ea595ea09a0e20321150480ee78f
parent8d6aa688eeffea4b9151d1a208ed619ca50c823a
[ARM] Add MVE_TwoOpPattern. NFC

This commons out a chunk of the different two operand MVE patterns into
a single helper multidef. Or technically two multidef patterns so that
the Dup qr patterns can also get the same treatment. This is most of the
two address instructions that we have some codegen pattern for (not ones
that we select purely from intrinsics). It does not include shifts,
which are more spread out and will need some extra work to be given the
same treatment.

Differential Revision: https://reviews.llvm.org/D83219
llvm/lib/Target/ARM/ARMInstrMVE.td