summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2007-11-15 21:15:26 +0000
committerNate Begeman <natebegeman@mac.com>2007-11-15 21:15:26 +0000
commitbd117f06bad5b526e1e75ff3a6bcdb754c45fd45 (patch)
tree4d013b744bc2a2fa0b3ab1f695658f283f459f64 /llvm/lib/VMCore
parent0640e3ef35c1154db431bb1d2ee29eb2dfae2944 (diff)
downloadbcm5719-llvm-bd117f06bad5b526e1e75ff3a6bcdb754c45fd45.tar.gz
bcm5719-llvm-bd117f06bad5b526e1e75ff3a6bcdb754c45fd45.zip
Basic non-power-of-2 vector support
llvm-svn: 44181
Diffstat (limited to 'llvm/lib/VMCore')
-rw-r--r--llvm/lib/VMCore/Type.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Type.cpp b/llvm/lib/VMCore/Type.cpp
index 3e085f4027f..b8ce47bad86 100644
--- a/llvm/lib/VMCore/Type.cpp
+++ b/llvm/lib/VMCore/Type.cpp
@@ -1209,7 +1209,6 @@ static ManagedStatic<TypeMap<VectorValType, VectorType> > VectorTypes;
VectorType *VectorType::get(const Type *ElementType, unsigned NumElements) {
assert(ElementType && "Can't get vector of null types!");
- assert(isPowerOf2_32(NumElements) && "Vector length should be a power of 2!");
VectorValType PVT(ElementType, NumElements);
VectorType *PT = VectorTypes->get(PVT);
OpenPOWER on IntegriCloud