[llvm-commits] [llvm] r58547 - /llvm/trunk/lib/VMCore/Type.cpp
Sanjiv Gupta
sanjiv.gupta at microchip.com
Sat Nov 1 03:57:14 PDT 2008
Author: sgupta
Date: Sat Nov 1 05:57:12 2008
New Revision: 58547
URL: http://llvm.org/viewvc/llvm-project?rev=58547&view=rev
Log:
Reverting back 58505. Will commit it once I have the bc reader/writer/docs
ready.
Modified:
llvm/trunk/lib/VMCore/Type.cpp
Modified: llvm/trunk/lib/VMCore/Type.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Type.cpp?rev=58547&r1=58546&r2=58547&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/Type.cpp (original)
+++ llvm/trunk/lib/VMCore/Type.cpp Sat Nov 1 05:57:12 2008
@@ -1516,8 +1516,7 @@
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;
}
More information about the llvm-commits
mailing list