From 1796f1f8e9405f0a6ac1b4667d85674af1f49211 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 18 May 2007 17:52:13 +0000 Subject: Qualify several calls to functions in the MVT namespace, for consistency. llvm-svn: 37230 --- llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp') diff --git a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp index a0125d395d1..a2cd12801dd 100644 --- a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp +++ b/llvm/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; -- cgit v1.2.3