Add explicit qualification for namespace MVT members.
authorDan Gohman <gohman@apple.com>
Thu, 24 May 2007 14:33:05 +0000 (14:33 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 24 May 2007 14:33:05 +0000 (14:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37320 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/Target/X86/X86ISelLowering.cpp

index d1232f270da0bce04be0164ecc162d7a1892f20e..dddb1a957f75e86d2cbda93ed86749d6a6e49c21 100644 (file)
@@ -3048,7 +3048,7 @@ void SDNode::dump(const SelectionDAG *G) const {
     else
       cerr << "<null:" << M->getOffset() << ">";
   } else if (const VTSDNode *N = dyn_cast<VTSDNode>(this)) {
-    cerr << ":" << getValueTypeString(N->getVT());
+    cerr << ":" << MVT::getValueTypeString(N->getVT());
   } else if (const LoadSDNode *LD = dyn_cast<LoadSDNode>(this)) {
     bool doExt = true;
     switch (LD->getExtensionType()) {
index cacbd162c9c252f3315ce570316f012bd927b2b7..bf8499353fb56b27a4af662eb31a3417ae9669d0 100644 (file)
@@ -2255,7 +2255,7 @@ static bool isZeroShuffle(SDNode *N) {
 ///
 static SDOperand getZeroVector(MVT::ValueType VT, SelectionDAG &DAG) {
   assert(MVT::isVector(VT) && "Expected a vector type");
-  unsigned NumElems = getVectorNumElements(VT);
+  unsigned NumElems = MVT::getVectorNumElements(VT);
   MVT::ValueType EVT = MVT::getVectorBaseType(VT);
   bool isFP = MVT::isFloatingPoint(EVT);
   SDOperand Zero = isFP ? DAG.getConstantFP(0.0, EVT) : DAG.getConstant(0, EVT);