diff options
Diffstat (limited to 'llvm/utils/TableGen/Types.cpp')
-rw-r--r-- | llvm/utils/TableGen/Types.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/utils/TableGen/Types.cpp b/llvm/utils/TableGen/Types.cpp index a6682da90e6b..aca8e36b683d 100644 --- a/llvm/utils/TableGen/Types.cpp +++ b/llvm/utils/TableGen/Types.cpp @@ -34,11 +34,3 @@ const char *llvm::getMinimalTypeForRange(uint64_t Range, unsigned MaxSize LLVM_A return "uint16_t"; return "uint8_t"; } - -const char *llvm::getMinimalTypeForEnumBitfield(uint64_t Size) { - uint64_t MaxIndex = Size; - if (MaxIndex > 0) - MaxIndex--; - assert(MaxIndex <= 64 && "Too many bits"); - return getMinimalTypeForRange(1ULL << MaxIndex); -} |