[ARM] MVE compare vector splat combine
commit4495a812f81c2f12fa7ce6c7aafac688f33d3361
authorDavid Green <david.green@arm.com>
Wed, 24 Jul 2019 16:58:41 +0000 (24 16:58 +0000)
committerDavid Green <david.green@arm.com>
Wed, 24 Jul 2019 16:58:41 +0000 (24 16:58 +0000)
tree0b888bd798a223773d4688f8d47289d6ff73f1a5
parentea26ae39f91810eef444f621326f8c0ed8f42fef
[ARM] MVE compare vector splat combine

MVE VCMP instructions can use a general purpose register as the second operand.
This adds the combines for it, selecting from a compare of a vdup.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366924 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrMVE.td
test/CodeGen/Thumb2/mve-vcmpfr.ll [new file with mode: 0644]
test/CodeGen/Thumb2/mve-vcmpr.ll [new file with mode: 0644]