]> granicus.if.org Git - llvm/commit
[ARM] Better OR's for MVE compares
authorDavid Green <david.green@arm.com>
Wed, 24 Jul 2019 16:42:09 +0000 (16:42 +0000)
committerDavid Green <david.green@arm.com>
Wed, 24 Jul 2019 16:42:09 +0000 (16:42 +0000)
commit5ee5e00dd3f7f651d6afe1ae0374b8c03cc49a85
tree8ffb3867a911ebe56b1d416081dc103fd4f6132a
parent0294e50fe5c4ff12cf05571b59232673f033d345
[ARM] Better OR's for MVE compares

This adds a DeMorgan combine for OR's of compares to turn them into AND's,
helping prevent them from going into and out of gpr registers. It also fills in
the VCLE and VCLT nodes that MVE can select, allowing it to invert more
compares.

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

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