OSDN Git Service

[AArch64][RegisterBankInfo] Add mapping for G_FPEXT.
authorQuentin Colombet <qcolombet@apple.com>
Thu, 2 Nov 2017 23:38:19 +0000 (23:38 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Thu, 2 Nov 2017 23:38:19 +0000 (23:38 +0000)
commitd8375d73687a9b88018cf808abbf8e639e2ad962
treeae6037a994c4c8bb6cd2996b13640983ab5c5c87
parent87cdca2231ed8908e603a904131c2f49c247303c
[AArch64][RegisterBankInfo] Add mapping for G_FPEXT.

This fixes http://llvm.org/PR32560. We were missing a description for
half floating point type and as a result were using the FPR 32 mapping.
Because of the size mismatch the generic code was complaining that the
default mapping is not appropriate. Fix the mapping description so that
the default mapping can be properly applied.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317287 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64GenRegisterBankInfo.def
lib/Target/AArch64/AArch64RegisterBankInfo.cpp
lib/Target/AArch64/AArch64RegisterBankInfo.h
test/CodeGen/AArch64/GlobalISel/arm64-regbankselect.mir