Reverting back 58505. Will commit it once I have the bc reader/writer/docs
authorSanjiv Gupta <sanjiv.gupta@microchip.com>
Sat, 1 Nov 2008 10:57:12 +0000 (10:57 +0000)
committerSanjiv Gupta <sanjiv.gupta@microchip.com>
Sat, 1 Nov 2008 10:57:12 +0000 (10:57 +0000)
ready.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58547 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Type.cpp

index 14f09f045675556fe4901345e1c0b03a1c4b8272..be211949799ebfd0b6b342344bb9a6e0a7cef93e 100644 (file)
@@ -1516,8 +1516,7 @@ void PointerType::typeBecameConcrete(const DerivedType *AbsTy) {
 
 bool SequentialType::indexValid(const Value *V) const {
   if (const IntegerType *IT = dyn_cast<IntegerType>(V->getType())) 
-    return IT->getBitWidth() == 16 ||
-           IT->getBitWidth() == 32 || IT->getBitWidth() == 64;
+    return IT->getBitWidth() == 32 || IT->getBitWidth() == 64;
   return false;
 }