aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanjiv Gupta <sanjiv.gupta@microchip.com>2008-11-01 10:57:12 +0000
committerSanjiv Gupta <sanjiv.gupta@microchip.com>2008-11-01 10:57:12 +0000
commitde5b06b3e15be85b92ffef65413acf7d3262069e (patch)
tree46acf3a98e2b8c8a22bd3b8d9f63a59846a82bbd
parent7ab1fc149089444c22b96c9000cadac220d8f4c0 (diff)
Reverting back 58505. Will commit it once I have the bc reader/writer/docs
ready. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58547 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/VMCore/Type.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/VMCore/Type.cpp b/lib/VMCore/Type.cpp
index 14f09f0456..be21194979 100644
--- a/lib/VMCore/Type.cpp
+++ b/lib/VMCore/Type.cpp
@@ -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;
}