Document the meaning of -1 for getCopyCost.

llvm-svn: 63933
This commit is contained in:
Evan Cheng 2009-02-06 17:01:33 +00:00
parent 87cab1e751
commit 1731125787
1 changed files with 2 additions and 1 deletions

View File

@ -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; }
};