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/SelectionDAG.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/SelectionDAG.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index e3ee9fb0d8c..5c24b931e17 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -1114,7 +1114,7 @@ SDOperand SelectionDAG::getNode(unsigned Opcode, MVT::ValueType VT, break; case ISD::SCALAR_TO_VECTOR: assert(MVT::isVector(VT) && !MVT::isVector(Operand.getValueType()) && - MVT::getVectorBaseType(VT) == Operand.getValueType() && + MVT::getVectorElementType(VT) == Operand.getValueType() && "Illegal SCALAR_TO_VECTOR node!"); break; case ISD::FNEG: @@ -1593,7 +1593,7 @@ SDOperand SelectionDAG::getExtLoad(ISD::LoadExtType ExtType, MVT::ValueType VT, ExtType = ISD::NON_EXTLOAD; if (MVT::isVector(VT)) - assert(EVT == MVT::getVectorBaseType(VT) && "Invalid vector extload!"); + assert(EVT == MVT::getVectorElementType(VT) && "Invalid vector extload!"); else assert(EVT < VT && "Should only be an extending load, not truncating!"); assert((ExtType == ISD::EXTLOAD || MVT::isInteger(VT)) && |