[llvm-commits] CVS: llvm/lib/Target/TargetLowering.cpp

Evan Cheng evan.cheng at apple.com
Thu Mar 23 15:25:04 PST 2006



Changes in directory llvm/lib/Target:

TargetLowering.cpp updated: 1.47 -> 1.48
---
Log message:

Typo

---
Diffs of the changes:  (+1 -1)

 TargetLowering.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/TargetLowering.cpp
diff -u llvm/lib/Target/TargetLowering.cpp:1.47 llvm/lib/Target/TargetLowering.cpp:1.48
--- llvm/lib/Target/TargetLowering.cpp:1.47	Thu Mar 16 13:50:01 2006
+++ llvm/lib/Target/TargetLowering.cpp	Thu Mar 23 17:24:51 2006
@@ -128,7 +128,7 @@
   // 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;
   }






More information about the llvm-commits mailing list