OSDN Git Service

[GlobalISel][AArch64] Legalize + select G_FRINT
authorJessica Paquette <jpaquette@apple.com>
Fri, 19 Apr 2019 23:41:52 +0000 (23:41 +0000)
committerJessica Paquette <jpaquette@apple.com>
Fri, 19 Apr 2019 23:41:52 +0000 (23:41 +0000)
commit6b81ae837b78d0eb5b7b0741347e946cc99a9bc8
tree0e1678574598b88018f547fe983fda7987142360
parent5477ac9732283c139d103c47b19932bf06e9e040
[GlobalISel][AArch64] Legalize + select G_FRINT

Exactly the same as G_FCEIL, G_FABS, etc.

Add tests for the fp16/nofp16 behaviour, update arm64-vfloatintrinsics, etc.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@358799 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
lib/Target/AArch64/AArch64LegalizerInfo.cpp
lib/Target/AArch64/AArch64RegisterBankInfo.cpp
test/CodeGen/AArch64/GlobalISel/legalize-frint.mir [new file with mode: 0644]
test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
test/CodeGen/AArch64/GlobalISel/select-frint-nofp16.mir [new file with mode: 0644]
test/CodeGen/AArch64/GlobalISel/select-frint.mir [new file with mode: 0644]
test/CodeGen/AArch64/arm64-vfloatintrinsics.ll