git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27008 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2006-03-23 23:24:51 +00:00
parent e2ca1572e6
commit 677274b1cb

View 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;
}