From a573f5962840f10241f96da8ba93645688fc00b8 Mon Sep 17 00:00:00 2001 From: Bob Wilson Date: Tue, 14 Jul 2009 06:06:28 +0000 Subject: [PATCH] Fix an obvious error. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75611 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/ValueTypes.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/VMCore/ValueTypes.cpp b/lib/VMCore/ValueTypes.cpp index 5224e021de7..82b030e07f1 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 +}