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 | 51eaa86758338d5935c0eff0469c418b1256aba7 (patch) | |
tree | cdb66dd1b55fb6b2612f641260fa90ec92ef415b /lib/CodeGen/SelectionDAG/DAGCombiner.cpp | |
parent | 318093b6f8d21ac8eab34573b0526984895fe941 (diff) |
Rename MVT::getVectorBaseType to MVT::getVectorElementType.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37579 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index 1dac2ca1ef..8cc4036347 100644 --- a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/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()); } |