diff options
author | Dan Gohman <gohman@apple.com> | 2007-05-24 14:33:05 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2007-05-24 14:33:05 +0000 |
commit | 237898ac1f6f6d1915282cc3afaa3c36435e76c0 (patch) | |
tree | c3c1ef5bcafdb6fbd1df34d45c29ae5be3a8113f | |
parent | d520559d5863a703026ab1e47033c916978e56ac (diff) |
Add explicit qualification for namespace MVT members.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37320 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 | ||||
-rw-r--r-- | lib/Target/X86/X86ISelLowering.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index d1232f270d..dddb1a957f 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -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()) { diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index cacbd162c9..bf8499353f 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -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); |