]> granicus.if.org Git - llvm/commit
[AArch64][RegisterBankInfo] Change the default mapping of fp stores.
authorQuentin Colombet <qcolombet@apple.com>
Wed, 10 May 2017 15:19:41 +0000 (15:19 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Wed, 10 May 2017 15:19:41 +0000 (15:19 +0000)
commite518f7a661f38e1bb832927ff36938288d3ec9c1
tree097c22fa8fdb69530f3b5137fb195ba7b6f9aa21
parent7c631c8afc5aed35e9ae9f62ea1499f866b0ef34
[AArch64][RegisterBankInfo] Change the default mapping of fp stores.

For stores, check if the stored value is defined by a floating point
instruction and if yes, we return a default mapping with FPR instead
of GPR.

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