summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-03-24 17:37:03 +0000
committerChris Lattner <sabre@nondot.org>2007-03-24 17:37:03 +0000
commit2a991268f7107c3bdefa150beb2b6c9f0975cb9e (patch)
treeabab796b08141fd1ae9b6e966d54c8dbd2834e69 /llvm/lib/CodeGen
parent7750e344d3dbfeae00eac8bd60f976ce61c44400 (diff)
downloadbcm5719-llvm-2a991268f7107c3bdefa150beb2b6c9f0975cb9e.tar.gz
bcm5719-llvm-2a991268f7107c3bdefa150beb2b6c9f0975cb9e.zip
don't rely on ADL
llvm-svn: 35299
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index 0e1f0b9687c..8e78ce5eba4 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@ -484,7 +484,7 @@ void SelectionDAGLegalize::HandleOp(SDOperand Op) {
unsigned NumElements =
cast<ConstantSDNode>(N->getOperand(NumOps-2))->getValue();
MVT::ValueType EVT = cast<VTSDNode>(N->getOperand(NumOps-1))->getVT();
- MVT::ValueType PackedVT = getVectorType(EVT, NumElements);
+ MVT::ValueType PackedVT = MVT::getVectorType(EVT, NumElements);
if (PackedVT != MVT::Other && TLI.isTypeLegal(PackedVT)) {
// In the common case, this is a legal vector type, convert it to the
// packed operation and type now.
OpenPOWER on IntegriCloud