[ARM] Better patterns for fp <> predicate vectors
commit03abb752d91c68f07d829cac130ff3f2f585d78b
authorDavid Green <david.green@arm.com>
Sun, 28 Jul 2019 13:53:39 +0000 (28 13:53 +0000)
committerDavid Green <david.green@arm.com>
Sun, 28 Jul 2019 13:53:39 +0000 (28 13:53 +0000)
tree9bda858d3fc0fd60505f791af8d7e2bc25e4ec1e
parent7f252c75afdae217f1886870b406fa7ee0a65f90
[ARM] Better patterns for fp <> predicate vectors

These are some better patterns for converting between predicates and floating
points. Much like the extends, we select "1"/"-1" or "0" depending on the
predicate value. Or we perform a compare against 0 to convert to a predicate.

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

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