]> granicus.if.org Git - llvm/commit
[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)
commitbaeeed43cc24472e1cbc83fb0b6ee0f70eef8e1f
tree98dfa66995fa8f105af7ad2cca306c7de22afb9d
parentf344f53426c39bf0e8d0784c541824140b38570f
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353722 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
lib/Target/AArch64/AArch64LegalizerInfo.cpp
lib/Target/AArch64/AArch64RegisterBankInfo.cpp
test/CodeGen/AArch64/GlobalISel/select-floor.mir [new file with mode: 0644]
test/CodeGen/AArch64/arm64-vfloatintrinsics.ll
test/CodeGen/AArch64/f16-instructions.ll