Assert that VectorType::getTruncatedElementVectorType is not used with
authorBob Wilson <bob.wilson@apple.com>
Wed, 7 Jan 2009 23:44:27 +0000 (23:44 +0000)
committerBob Wilson <bob.wilson@apple.com>
Wed, 7 Jan 2009 23:44:27 +0000 (23:44 +0000)
commit850168c370bd6cb18a13f88e32e7ec9c1d0abf04
tree77777b8bb8d437e91a64a3d32a62ef409781611a
parent71c3f459905097a54b9bd354b1e18d74bee87721
Assert that VectorType::getTruncatedElementVectorType is not used with
odd bit-width vector elements.  Add a check in the verifier for this also.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61899 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DerivedTypes.h
lib/VMCore/Verifier.cpp