[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp SelectionDAG.cpp

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



Changes in directory llvm/lib/CodeGen/SelectionDAG:

LegalizeDAG.cpp updated: 1.502 -> 1.503
SelectionDAG.cpp updated: 1.410 -> 1.411
---
Log message:

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


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

 LegalizeDAG.cpp  |    2 +-
 SelectionDAG.cpp |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.502 llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.503
--- llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.502	Wed Jun 27 09:06:22 2007
+++ llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp	Wed Jun 27 11:08:04 2007
@@ -1714,7 +1714,7 @@
           break;
         case Expand: {
           SDOperand Lo, Hi;
-          assert(!MVT::isExtendedValueType(Node->getOperand(i).getValueType())&&
+          assert(!MVT::isExtendedVT(Node->getOperand(i).getValueType()) &&
                  "FIXME: TODO: implement returning non-legal vector types!");
           ExpandOp(Node->getOperand(i), Lo, Hi);
           NewValues.push_back(Lo);


Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.410 llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.411
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.410	Mon Jun 25 11:23:39 2007
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp	Wed Jun 27 11:08:04 2007
@@ -2475,7 +2475,7 @@
 }
 
 SDVTList SelectionDAG::getVTList(MVT::ValueType VT) {
-  if (!MVT::isExtendedValueType(VT))
+  if (!MVT::isExtendedVT(VT))
     return makeVTList(SDNode::getValueTypeList(VT), 1);
 
   for (std::list<std::vector<MVT::ValueType> >::iterator I = VTList.begin(),






More information about the llvm-commits mailing list