Add CopyCost to TargetRegisterClass. This specifies the cost of copying a value

between two registers in the specific class.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42123 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng
2007-09-19 01:35:01 +00:00
parent babbe27007
commit a3ca3149f2
5 changed files with 20 additions and 4 deletions

View File

@@ -38,6 +38,7 @@ namespace llvm {
std::vector<MVT::ValueType> VTs;
unsigned SpillSize;
unsigned SpillAlignment;
int CopyCost;
std::vector<Record*> SubRegClasses;
std::string MethodProtos, MethodBodies;