[ARM] Better AND's for MVE compares
authorDavid Green <david.green@arm.com>
Wed, 24 Jul 2019 14:42:05 +0000 (14:42 +0000)
committerDavid Green <david.green@arm.com>
Wed, 24 Jul 2019 14:42:05 +0000 (14:42 +0000)
commit69fba7434e0b5c424951752feef5bd4c3a2835ea
tree4405c604deee73dc793e447b2a2c98b72d0e29ac
parent4fc78c496eb6e79d6ab273e4cb1ef8dc0fb61737
[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

llvm-svn: 366910
llvm/lib/Target/ARM/ARMInstrMVE.td
llvm/test/CodeGen/Thumb2/mve-pred-and.ll