diff options
-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 54fc00dd84..3b452573fc 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; } }; |