[llvm-commits] [llvm] r75611 - /llvm/trunk/lib/VMCore/ValueTypes.cpp

Bob Wilson bob.wilson at apple.com
Mon Jul 13 23:06:28 PDT 2009


Author: bwilson
Date: Tue Jul 14 01:06:28 2009
New Revision: 75611

URL: http://llvm.org/viewvc/llvm-project?rev=75611&view=rev
Log:
Fix an obvious error.

Modified:
    llvm/trunk/lib/VMCore/ValueTypes.cpp

Modified: llvm/trunk/lib/VMCore/ValueTypes.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/ValueTypes.cpp?rev=75611&r1=75610&r2=75611&view=diff

==============================================================================
--- llvm/trunk/lib/VMCore/ValueTypes.cpp (original)
+++ llvm/trunk/lib/VMCore/ValueTypes.cpp Tue Jul 14 01:06:28 2009
@@ -159,8 +159,8 @@
   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 @@
                        VTy->getNumElements());
   }
   }
-}
\ No newline at end of file
+}





More information about the llvm-commits mailing list