Add CopyCost to TargetRegisterClass. This specifies the cost of copying a value
[oota-llvm.git] / utils / TableGen / CodeGenRegisters.h
index cee81e9092cb6866bc9072c0ed9083b51d26ef23..a5636e34f21e208768d1bfcc3f5195016cd46be1 100644 (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;