diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-03-23 23:24:51 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-03-23 23:24:51 +0000 |
commit | 677274b1cb511613df087adaebfdb0817c7beb49 (patch) | |
tree | 012bd68efc461e98e39bfd6f786d3e6acd6f4cc6 /lib/CodeGen/SelectionDAG/TargetLowering.cpp | |
parent | e2ca1572e693ca10f2b9923cbe72c47491cdfad4 (diff) |
Typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27008 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/TargetLowering.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/TargetLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp index c4cb8c2dc9..64d1cdb3a8 100644 --- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp +++ b/lib/CodeGen/SelectionDAG/TargetLowering.cpp @@ -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; } |