Typo
authorEvan Cheng <evan.cheng@apple.com>
Thu, 23 Mar 2006 23:24:51 +0000 (23:24 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 23 Mar 2006 23:24:51 +0000 (23:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27008 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/TargetLowering.cpp

index c4cb8c2dc996efc63f77ee73583b2a42b6c603af..64d1cdb3a8440010934e27035bce2ac89ea551e8 100644 (file)
@@ -128,7 +128,7 @@ void TargetLowering::computeRegisterProperties() {
   // Loop over all of the legal vector value types, specifying an identity type
   // transformation.
   for (unsigned i = MVT::FIRST_VECTOR_VALUETYPE;
-       i != MVT::LAST_VECTOR_VALUETYPE; ++i) {
+       i <= MVT::LAST_VECTOR_VALUETYPE; ++i) {
     if (isTypeLegal((MVT::ValueType)i))
       TransformToType[i] = (MVT::ValueType)i;
   }