mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-16 10:18:09 +00: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:
|
// Will introduce other hooks for different size:
|
||||||
// * extract cost.
|
// * extract cost.
|
||||||
// * build_sequence 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(
|
const RegisterBank &AArch64RegisterBankInfo::getRegBankFromRegClass(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user