[ARM] MVE VPNOT
authorDavid Green <david.green@arm.com>
Sun, 28 Jul 2019 14:07:48 +0000 (14:07 +0000)
committerDavid Green <david.green@arm.com>
Sun, 28 Jul 2019 14:07:48 +0000 (14:07 +0000)
commitb8b8b46a5176d66981cf8a1898220a427d21535c
treefcf43404cc3d50dd7dd0d43f65733af137ec156a
parent9cf344e73954625b74b8753f0ecd1100820670b0
[ARM] MVE VPNOT

This adds the patterns required to transform xor P0, -1 to a VPNOT. The
instruction operands have to change a little for this, adding an in and an out
VCCR reg and using a custom DecodeMVEVPNOT for the decode.

Differential Revision: https://reviews.llvm.org/D65133

llvm-svn: 367192
llvm/lib/Target/ARM/ARMInstrMVE.td
llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
llvm/test/CodeGen/Thumb2/mve-pred-or.ll
llvm/test/CodeGen/Thumb2/mve-vcmpf.ll
llvm/test/CodeGen/Thumb2/mve-vcmpfr.ll
llvm/test/CodeGen/Thumb2/mve-vcmpfz.ll