[ARM] Better AND's for MVE compares
commitcdcd461bbfba8a03c3a4ab490a7fe81b6adcb04f
authorDavid Green <david.green@arm.com>
Wed, 24 Jul 2019 14:42:05 +0000 (24 14:42 +0000)
committerDavid Green <david.green@arm.com>
Wed, 24 Jul 2019 14:42:05 +0000 (24 14:42 +0000)
tree48d19fcff772b311b23de0d3261f0c76c33bd415
parent1212c09f2b9206950356e2da1c26349bcc975764
[ARM] Better AND's for MVE compares

Add a number of folds to convert and(vcmp, vcmp) into a single VPT block, where
the second vcmp becomes predicated on the first.

The VCMP; VPST; VCMP will eventually be converted to VPT; VCMP in the
VPTBlockPass.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366910 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrMVE.td
test/CodeGen/Thumb2/mve-pred-and.ll