[ARM] Basic And/Or/Xor handling for MVE predicates
authorDavid Green <david.green@arm.com>
Wed, 24 Jul 2019 14:17:54 +0000 (14:17 +0000)
committerDavid Green <david.green@arm.com>
Wed, 24 Jul 2019 14:17:54 +0000 (14:17 +0000)
commita4a4698c16f681f0c8eb597624e1c595d35d3c93
tree27a730cd02c745a268c4fdf64bbb7094148dbdb3
parentc7046c91cd1058498cfa2f5b5694eafd9d252c23
[ARM] Basic And/Or/Xor handling for MVE predicates

This adds some basic, "worst case" handling for MVE predicate Or/And/Xor. It
does this by going into and out of GPRs, doing the operation on scalars.

Code by David Sherwood.

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

llvm-svn: 366907
llvm/lib/Target/ARM/ARMInstrMVE.td
llvm/test/CodeGen/Thumb2/mve-pred-and.ll [new file with mode: 0644]
llvm/test/CodeGen/Thumb2/mve-pred-not.ll [new file with mode: 0644]
llvm/test/CodeGen/Thumb2/mve-pred-or.ll [new file with mode: 0644]
llvm/test/CodeGen/Thumb2/mve-pred-xor.ll [new file with mode: 0644]