summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit1796f1f8e9405f0a6ac1b4667d85674af1f49211 (patch)
treeaf7a3144893931f22e9fe5073104b489b0ee5d2f /llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
parentf25d3a5d7349a6839934c3d82ebd5cc02124b67f (diff)
downloadbcm5719-llvm-1796f1f8e9405f0a6ac1b4667d85674af1f49211.tar.gz
bcm5719-llvm-1796f1f8e9405f0a6ac1b4667d85674af1f49211.zip
Qualify several calls to functions in the MVT namespace, for consistency.
llvm-svn: 37230
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp4
1 files changed, 2 insertions, 2 deletions
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;
OpenPOWER on IntegriCloud