aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-08-03 18:57:28 +0000
committerChris Lattner <sabre@nondot.org>2006-08-03 18:57:28 +0000
commit1eaf0ac1dc470fb846c16c966d1ffff8213b33ef (patch)
tree8cfb02d29d16b9ba012a6ac06a900db1045f502f /include
parentfb1fcf08c9caeac84d5b51a3a250283b2127fc6d (diff)
downloadexternal_llvm-1eaf0ac1dc470fb846c16c966d1ffff8213b33ef.zip
external_llvm-1eaf0ac1dc470fb846c16c966d1ffff8213b33ef.tar.gz
external_llvm-1eaf0ac1dc470fb846c16c966d1ffff8213b33ef.tar.bz2
update comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29507 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/MRegisterInfo.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/include/llvm/Target/MRegisterInfo.h b/include/llvm/Target/MRegisterInfo.h
index 7b28d5e..0e0d5a2 100644
--- a/include/llvm/Target/MRegisterInfo.h
+++ b/include/llvm/Target/MRegisterInfo.h
@@ -208,20 +208,14 @@ protected:
public:
enum { // Define some target independent constants
- /// NoRegister - This 'hard' register is a 'noop' register for all backends.
- /// This is used as the destination register for instructions that do not
- /// produce a value. Some frontends may use this as an operand register to
- /// mean special things, for example, the Sparc backend uses R0 to mean %g0
- /// which always PRODUCES the value 0. The X86 backend does not use this
- /// value as an operand register, except for memory references.
- ///
+ /// NoRegister - This physical register is not a real target register. It
+ /// is useful as a sentinal.
NoRegister = 0,
/// FirstVirtualRegister - This is the first register number that is
/// considered to be a 'virtual' register, which is part of the SSA
/// namespace. This must be the same for all targets, which means that each
/// target is limited to 1024 registers.
- ///
FirstVirtualRegister = 1024
};