forked from OSchip/llvm-project
[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
a06ac07165
commit
a4ac7cdac2
|
@ -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…
Reference in New Issue