diff options
| author | Dan Gohman <gohman@apple.com> | 2007-06-14 22:58:02 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2007-06-14 22:58:02 +0000 |
| commit | 5c4413120f8e3b7645d4cdf98124f28a2019cbb1 (patch) | |
| tree | b66b342811530070dd8db6655b6c6ff20ac0efc4 /llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | |
| parent | 616627b002fb5735aee4d855dbe9445a26eb5ae8 (diff) | |
| download | bcm5719-llvm-5c4413120f8e3b7645d4cdf98124f28a2019cbb1.tar.gz bcm5719-llvm-5c4413120f8e3b7645d4cdf98124f28a2019cbb1.zip | |
Rename MVT::getVectorBaseType to MVT::getVectorElementType.
llvm-svn: 37579
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index 1dac2ca1ef8..8cc40363479 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -1809,7 +1809,7 @@ SDOperand DAGCombiner::visitXOR(SDNode *N) { return DAG.getConstant(0, VT); } else if (!AfterLegalize || TLI.isOperationLegal(ISD::BUILD_VECTOR, VT)) { // Produce a vector of zeros. - SDOperand El = DAG.getConstant(0, MVT::getVectorBaseType(VT)); + SDOperand El = DAG.getConstant(0, MVT::getVectorElementType(VT)); std::vector<SDOperand> Ops(MVT::getVectorNumElements(VT), El); return DAG.getNode(ISD::BUILD_VECTOR, VT, &Ops[0], Ops.size()); } |

