X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FVMCore%2FType.cpp;h=14f09f045675556fe4901345e1c0b03a1c4b8272;hb=d2840fd37f698f111a4386c44f63fda74033359e;hp=be211949799ebfd0b6b342344bb9a6e0a7cef93e;hpb=f6a9988ceab0ca660fa4f4e89d8d683f487118eb;p=oota-llvm.git 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; }