Apply Pekka Jääskeläinen's patch to raise the first virtual register
authorDan Gohman <gohman@apple.com>
Mon, 7 Dec 2009 19:38:26 +0000 (19:38 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 7 Dec 2009 19:38:26 +0000 (19:38 +0000)
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

include/llvm/Target/TargetRegisterInfo.h

index cb29c7306eaef80d4c115caf055dc2433e4ab633..6d627e439b746753f2cac0ccd2e516c2e22f4012 100644 (file)
@@ -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