mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
[AArch64][RegisterBankInfo] Use the generic implementation of copyCost.
Long term we may want to give high cost at FPR to/from GPR copies. llvm-svn: 272086
This commit is contained in:
parent
f822b42dbd
commit
29b8e1633e
@ -71,7 +71,8 @@ unsigned AArch64RegisterBankInfo::copyCost(const RegisterBank &A,
|
||||
// Will introduce other hooks for different size:
|
||||
// * extract cost.
|
||||
// * build_sequence cost.
|
||||
return 0;
|
||||
// TODO: Add more accurate cost for FPR to/from GPR.
|
||||
return RegisterBankInfo::copyCost(A, B, Size);
|
||||
}
|
||||
|
||||
const RegisterBank &AArch64RegisterBankInfo::getRegBankFromRegClass(
|
||||
|
Loading…
Reference in New Issue
Block a user