aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/TargetLowering.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-05-18 17:52:13 +0000
committerDan Gohman <gohman@apple.com>2007-05-18 17:52:13 +0000
commitb55757ec5f6f0218342a8910e1bbd9f018adc7d7 (patch)
tree0aff28b2706fc1788269d4ba9d10a639dba9c7c7 /lib/CodeGen/SelectionDAG/TargetLowering.cpp
parent6092ca155610b6c4cb16f21a1dad1f990758730a (diff)
Qualify several calls to functions in the MVT namespace, for consistency.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37230 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/TargetLowering.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/TargetLowering.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index a0125d395d..a2cd12801d 100644
--- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -299,12 +299,12 @@ unsigned TargetLowering::getVectorTypeBreakdown(const VectorType *PTy,
// Divide the input until we get to a supported size. This will always
// end with a scalar if the target doesn't support vectors.
- while (NumElts > 1 && !isTypeLegal(getVectorType(EltTy, NumElts))) {
+ while (NumElts > 1 && !isTypeLegal(MVT::getVectorType(EltTy, NumElts))) {
NumElts >>= 1;
NumVectorRegs <<= 1;
}
- MVT::ValueType VT = getVectorType(EltTy, NumElts);
+ MVT::ValueType VT = MVT::getVectorType(EltTy, NumElts);
if (!isTypeLegal(VT))
VT = EltTy;
PTyElementVT = VT;