aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2009-07-14 06:06:28 +0000
committerBob Wilson <bob.wilson@apple.com>2009-07-14 06:06:28 +0000
commita573f5962840f10241f96da8ba93645688fc00b8 (patch)
tree0cd1070636df0d81b0aab0a77cb2ec429fac0ab9 /lib
parent03e9dd9ffae4370bf53bcdf04504e5ad908a1ec6 (diff)
Fix an obvious error.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75611 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/VMCore/ValueTypes.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/VMCore/ValueTypes.cpp b/lib/VMCore/ValueTypes.cpp
index 5224e021de..82b030e07f 100644
--- a/lib/VMCore/ValueTypes.cpp
+++ b/lib/VMCore/ValueTypes.cpp
@@ -159,8 +159,8 @@ const Type *MVT::getTypeForMVT(LLVMContext &Context) const {
case MVT::v32i8: return Context.getVectorType(Type::Int8Ty, 32);
case MVT::v2i16: return Context.getVectorType(Type::Int16Ty, 2);
case MVT::v4i16: return Context.getVectorType(Type::Int16Ty, 4);
- case MVT::v8i16: return Context.getVectorType(Type::Int16Ty, 16);
- case MVT::v16i16: return Context.getVectorType(Type::Int16Ty, 8);
+ case MVT::v8i16: return Context.getVectorType(Type::Int16Ty, 8);
+ case MVT::v16i16: return Context.getVectorType(Type::Int16Ty, 16);
case MVT::v2i32: return Context.getVectorType(Type::Int32Ty, 2);
case MVT::v3i32: return Context.getVectorType(Type::Int32Ty, 3);
case MVT::v4i32: return Context.getVectorType(Type::Int32Ty, 4);
@@ -202,4 +202,4 @@ MVT MVT::getMVT(const Type *Ty, bool HandleUnknown){
VTy->getNumElements());
}
}
-} \ No newline at end of file
+}