diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-02-06 17:01:33 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-02-06 17:01:33 +0000 |
commit | eb21144cdc003992b81a86d92feec7ae44732ba1 (patch) | |
tree | f36fa521dd0ada9e1887e9269e7bf108cbee4daa /include | |
parent | 2561b95ecaacc5e95ac230e22e486363ef14a5f0 (diff) | |
download | external_llvm-eb21144cdc003992b81a86d92feec7ae44732ba1.zip external_llvm-eb21144cdc003992b81a86d92feec7ae44732ba1.tar.gz external_llvm-eb21144cdc003992b81a86d92feec7ae44732ba1.tar.bz2 |
Document the meaning of -1 for getCopyCost.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63933 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Target/TargetRegisterInfo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetRegisterInfo.h b/include/llvm/Target/TargetRegisterInfo.h index 54fc00d..3b45257 100644 --- 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; } }; |