]> granicus.if.org Git - llvm/commit
[ARM] MVE floating point compares and selects
authorDavid Green <david.green@arm.com>
Wed, 24 Jul 2019 14:28:22 +0000 (14:28 +0000)
committerDavid Green <david.green@arm.com>
Wed, 24 Jul 2019 14:28:22 +0000 (14:28 +0000)
commit1212c09f2b9206950356e2da1c26349bcc975764
tree5336e3d9cc74d96cf3f29431d01397021b7d115c
parent0b34fd48afc71e8cf2c7fe65f7536f84f276dc3e
[ARM] MVE floating point compares and selects

Much like integers, this adds MVE floating point compares and select. It
requires a lot more buildvector/shuffle code because we may need to expand the
compares without mve.fp, and requires support for and/or because of the way we
lower llvm condition codes.

Some original code by David Sherwood

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366909 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/ARM/ARMInstrMVE.td
test/CodeGen/Thumb2/mve-vcmpf.ll [new file with mode: 0644]
test/CodeGen/Thumb2/mve-vcmpfz.ll [new file with mode: 0644]
test/CodeGen/Thumb2/mve-vpsel.ll