[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:
Quentin Colombet 2016-06-08 01:24:00 +00:00
parent a06ac07165
commit a4ac7cdac2
1 changed files with 2 additions and 1 deletions

View File

@ -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(