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 | 82dcb4fe23686784a5ad6379860970f1146db50d (patch) | |
tree | 33b60079343b8d19cec1f881568e52b1c6df669f /lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | |
parent | 0d3988f4083f9bec1c6da46a5aee0c2307fa42f3 (diff) |
don't rely on ADL
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35299 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeDAG.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index 0e1f0b9687..8e78ce5eba 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/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. |