diff --git a/lib/VMCore/Type.cpp b/lib/VMCore/Type.cpp index be211949799..14f09f04567 100644 --- a/lib/VMCore/Type.cpp +++ b/lib/VMCore/Type.cpp @@ -1516,7 +1516,8 @@ void PointerType::typeBecameConcrete(const DerivedType *AbsTy) { bool SequentialType::indexValid(const Value *V) const { if (const IntegerType *IT = dyn_cast(V->getType())) - return IT->getBitWidth() == 32 || IT->getBitWidth() == 64; + return IT->getBitWidth() == 16 || + IT->getBitWidth() == 32 || IT->getBitWidth() == 64; return false; }