diff options
author | Dan Gohman <gohman@apple.com> | 2009-12-07 19:38:26 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-12-07 19:38:26 +0000 |
commit | fb28579c568fcafaa4fb2a573b510deb6a6074e9 (patch) | |
tree | dea3c2f3d31695c09c3011dc56377ddc140c055d | |
parent | 2f9dac721d6b015fd16730bd51bffc86e29e6fdf (diff) |
Apply Pekka Jääskeläinen's patch to raise the first virtual register
number in order to accomodate targets with more than 1024 registers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90789 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Target/TargetRegisterInfo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Target/TargetRegisterInfo.h b/include/llvm/Target/TargetRegisterInfo.h index cb29c7306e..6d627e439b 100644 --- a/include/llvm/Target/TargetRegisterInfo.h +++ b/include/llvm/Target/TargetRegisterInfo.h @@ -299,8 +299,8 @@ public: /// 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 + /// target is limited to this fixed number of registers. + FirstVirtualRegister = 16384 }; /// isPhysicalRegister - Return true if the specified register number is in |