[llvm-commits] CVS: llvm/lib/VMCore/ValueTypes.cpp

Dan Gohman djg at cray.com
Wed Jun 27 09:08:33 PDT 2007



Changes in directory llvm/lib/VMCore:

ValueTypes.cpp updated: 1.20 -> 1.21
---
Log message:

Rename ("shrinkify") MVT::isExtendedValueType to MVT::isExtendedVT.


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

 ValueTypes.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/lib/VMCore/ValueTypes.cpp
diff -u llvm/lib/VMCore/ValueTypes.cpp:1.20 llvm/lib/VMCore/ValueTypes.cpp:1.21
--- llvm/lib/VMCore/ValueTypes.cpp:1.20	Tue Jun 26 10:14:48 2007
+++ llvm/lib/VMCore/ValueTypes.cpp	Wed Jun 27 11:08:04 2007
@@ -22,7 +22,7 @@
 std::string MVT::getValueTypeString(MVT::ValueType VT) {
   switch (VT) {
   default:
-    if (isExtendedValueType(VT))
+    if (isExtendedVT(VT))
       return "v" + utostr(getVectorNumElements(VT)) +
              getValueTypeString(getVectorElementType(VT));
     assert(0 && "Invalid ValueType!");
@@ -59,7 +59,7 @@
 const Type *MVT::getTypeForValueType(MVT::ValueType VT) {
   switch (VT) {
   default:
-    if (isExtendedValueType(VT))
+    if (isExtendedVT(VT))
       return VectorType::get(getTypeForValueType(getVectorElementType(VT)),
                              getVectorNumElements(VT));
     assert(0 && "ValueType does not correspond to LLVM type!");






More information about the llvm-commits mailing list