projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add CopyCost to TargetRegisterClass. This specifies the cost of copying a value
[oota-llvm.git]
/
utils
/
TableGen
/
CodeGenRegisters.h
diff --git
a/utils/TableGen/CodeGenRegisters.h
b/utils/TableGen/CodeGenRegisters.h
index cee81e9092cb6866bc9072c0ed9083b51d26ef23..a5636e34f21e208768d1bfcc3f5195016cd46be1 100644
(file)
--- a/
utils/TableGen/CodeGenRegisters.h
+++ b/
utils/TableGen/CodeGenRegisters.h
@@
-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;