[ARM] MVE bitwise instruction patterns
authorDavid Green <david.green@arm.com>
Thu, 4 Jul 2019 08:41:23 +0000 (08:41 +0000)
committerDavid Green <david.green@arm.com>
Thu, 4 Jul 2019 08:41:23 +0000 (08:41 +0000)
commitd2a9ec29d0f8d4e144a428ef05024a5ba83f15d2
tree16b2d04094d3b73b0ffa9e0f26339195280c7800
parentc1ead0e1b5af240266f780adc556080cfdafcb8a
[ARM] MVE bitwise instruction patterns

This adds patterns for the simpler VAND, VORR and VEOR bitwise vector
instructions. It also adjusts the top16Zero PatLeaf to not match on vector
instructions, which can otherwise cause problems.

Code written by David Sherwood.

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

llvm-svn: 365113
llvm/lib/Target/ARM/ARMInstrMVE.td
llvm/lib/Target/ARM/ARMInstrThumb2.td
llvm/test/CodeGen/Thumb2/mve-bitarith.ll [new file with mode: 0644]
llvm/test/CodeGen/Thumb2/mve-div-expand.ll
llvm/test/CodeGen/Thumb2/mve-fmath.ll