Index: llvm/trunk/utils/TableGen/SearchableTableEmitter.cpp =================================================================== --- llvm/trunk/utils/TableGen/SearchableTableEmitter.cpp +++ llvm/trunk/utils/TableGen/SearchableTableEmitter.cpp @@ -155,17 +155,15 @@ } else if (BitsRecTy *BI = dyn_cast(Field.RecType)) { unsigned NumBits = BI->getNumBits(); if (NumBits <= 8) - NumBits = 8; - else if (NumBits <= 16) - NumBits = 16; - else if (NumBits <= 32) - NumBits = 32; - else if (NumBits <= 64) - NumBits = 64; - else - PrintFatalError(Twine("bitfield '") + Field.Name + - "' too large to search"); - return "uint" + utostr(NumBits) + "_t"; + return "uint8_t"; + if (NumBits <= 16) + return "uint16_t"; + if (NumBits <= 32) + return "uint32_t"; + if (NumBits <= 64) + return "uint64_t"; + PrintFatalError(Twine("bitfield '") + Field.Name + + "' too large to search"); } else if (Field.Enum || Field.IsIntrinsic || Field.IsInstruction) return "unsigned"; PrintFatalError(Twine("Field '") + Field.Name + "' has unknown type '" +