projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3948d81
)
Document the meaning of -1 for getCopyCost.
author
Evan Cheng
<evan.cheng@apple.com>
Fri, 6 Feb 2009 17:01:33 +0000
(17:01 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Fri, 6 Feb 2009 17:01:33 +0000
(17:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63933
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Target/TargetRegisterInfo.h
patch
|
blob
|
history
diff --git
a/include/llvm/Target/TargetRegisterInfo.h
b/include/llvm/Target/TargetRegisterInfo.h
index 54fc00dd84ce69cca2dfa3bcc74ee95bae8092f5..3b452573fc0e3c36957dfd10ffe0bc8b570c4e5d 100644
(file)
--- a/
include/llvm/Target/TargetRegisterInfo.h
+++ b/
include/llvm/Target/TargetRegisterInfo.h
@@
-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; }
};