Revert "Emit the SubRegTable with the smallest possible integer type."
[oota-llvm.git] / utils / TableGen / CodeGenTarget.cpp
index 1eb1a54e5653b806b807ec02c75d62d16af1890a..cf6793570a2633529a072fe29c4fd19ce28cb996 100644 (file)
@@ -108,14 +108,6 @@ std::string llvm::getQualifiedName(const Record *R) {
   return Namespace + "::" + R->getName();
 }
 
-const char *llvm::getMinimalTypeForRange(uint64_t Range) {
-  assert(Range < 0xFFFFFFFFULL && "Enum too large");
-  if (Range > 0xFFFF)
-    return "uint32_t";
-  if (Range > 0xFF)
-    return "uint16_t";
-  return "uint8_t";
-}
 
 /// getTarget - Return the current instance of the Target class.
 ///