diff options
author | Chris Lattner <sabre@nondot.org> | 2007-03-24 17:37:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-03-24 17:37:03 +0000 |
commit | 2a991268f7107c3bdefa150beb2b6c9f0975cb9e (patch) | |
tree | abab796b08141fd1ae9b6e966d54c8dbd2834e69 /llvm/lib/CodeGen | |
parent | 7750e344d3dbfeae00eac8bd60f976ce61c44400 (diff) | |
download | bcm5719-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.cpp | 2 |
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. |