Fix a bug legalizing calls

llvm-svn: 19348
This commit is contained in:
Chris Lattner 2005-01-07 21:34:13 +00:00
parent 44b30c9abb
commit f025d6788c
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,7 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
std::vector<MVT::ValueType> RetTyVTs;
RetTyVTs.reserve(Node->getNumValues());
for (unsigned i = 0, e = Node->getNumValues(); i != e; ++i)
RetTyVTs.push_back(Node->getValueType(0));
RetTyVTs.push_back(Node->getValueType(i));
Result = SDOperand(DAG.getCall(RetTyVTs, Tmp1, Tmp2), Op.ResNo);
}
break;