[GlobalISel][AArch64] Select G_FFLOOR
authorJessica Paquette <jpaquette@apple.com>
Mon, 11 Feb 2019 17:22:58 +0000 (17:22 +0000)
committerJessica Paquette <jpaquette@apple.com>
Mon, 11 Feb 2019 17:22:58 +0000 (17:22 +0000)
commitebdb021031a92a569d457ff4d79a09b73752558d
tree5da83729dc9683a5a80ec4d7156a33be209622a7
parentcc2a16783b5ec7f450fdd0670688f347547b06e4
[GlobalISel][AArch64] Select G_FFLOOR

This teaches the legalizer about G_FFLOOR, and lets us select G_FFLOOR in
AArch64.

It updates the existing floating point tests, and adds a select-floor.mir test.

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

llvm-svn: 353722
llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
llvm/lib/Target/AArch64/AArch64LegalizerInfo.cpp
llvm/lib/Target/AArch64/AArch64RegisterBankInfo.cpp
llvm/test/CodeGen/AArch64/GlobalISel/select-floor.mir [new file with mode: 0644]
llvm/test/CodeGen/AArch64/arm64-vfloatintrinsics.ll
llvm/test/CodeGen/AArch64/f16-instructions.ll