forked from OSchip/llvm-project
Document the meaning of -1 for getCopyCost.
llvm-svn: 63933
This commit is contained in:
parent
87cab1e751
commit
1731125787
|
@ -202,7 +202,8 @@ public:
|
|||
unsigned getAlignment() const { return Alignment; }
|
||||
|
||||
/// getCopyCost - Return the cost of copying a value between two registers in
|
||||
/// this class.
|
||||
/// this class. -1 means the register class is very expensive to copy e.g.
|
||||
/// status flag register classes.
|
||||
int getCopyCost() const { return CopyCost; }
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue