[AArch64][GlobalISel] Add regbankselect support for G_LROUND
authorJessica Paquette <jpaquette@apple.com>
Thu, 19 Aug 2021 22:53:39 +0000 (15:53 -0700)
committerJessica Paquette <jpaquette@apple.com>
Fri, 20 Aug 2021 21:31:14 +0000 (14:31 -0700)
commit470c74f181735d6361b576ec98b1f4c618814901
tree68e6ffc9310f796c12c92a8bd6a1b932fbc8f6af
parent9ae9dd3fcfb9f471887ea6fbb0d0e8f2b9b46a28
[AArch64][GlobalISel] Add regbankselect support for G_LROUND

Destination is always a GPR, since the result is always an integer.

Source is always a FPR, since the source is always floating point.

Differential Revision: https://reviews.llvm.org/D108419
llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
llvm/test/CodeGen/AArch64/GlobalISel/regbank-lround.mir [new file with mode: 0644]