Prempt some obnoxious compiler from complaing about signed/unsigned
compares.

2^30 is actually the limit on the number of physical registers per
TargetRegisterInfo.h.

llvm-svn: 133142
diff --git a/llvm/utils/TableGen/SetTheory.cpp b/llvm/utils/TableGen/SetTheory.cpp
index bee6763..509d2f3 100644
--- a/llvm/utils/TableGen/SetTheory.cpp
+++ b/llvm/utils/TableGen/SetTheory.cpp
@@ -155,14 +155,14 @@
       From = II->getValue();
     else
       throw "From must be an integer: " + Expr->getAsString();
-    if (From < 0 || From >= UINT_MAX)
+    if (From < 0 || From >= (1 << 30))
       throw "From out of range";
 
     if (IntInit *II = dynamic_cast<IntInit*>(Expr->arg_begin()[2]))
       To = II->getValue();
     else
       throw "From must be an integer: " + Expr->getAsString();
-    if (To < 0 || To >= UINT_MAX)
+    if (To < 0 || To >= (1 << 30))
       throw "To out of range";
 
     RecordKeeper &Records =