mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-01 07:11:45 +00:00
Fix another bug legalizing calls!
llvm-svn: 19350
This commit is contained in:
parent
86601673d6
commit
8c6c12da86
@ -291,7 +291,7 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
|
||||
case ISD::CALL:
|
||||
Tmp1 = LegalizeOp(Node->getOperand(0)); // Legalize the chain.
|
||||
Tmp2 = LegalizeOp(Node->getOperand(1)); // Legalize the callee.
|
||||
if (Tmp2 != Node->getOperand(0) || Tmp2 != Node->getOperand(1)) {
|
||||
if (Tmp1 != Node->getOperand(0) || Tmp2 != Node->getOperand(1)) {
|
||||
std::vector<MVT::ValueType> RetTyVTs;
|
||||
RetTyVTs.reserve(Node->getNumValues());
|
||||
for (unsigned i = 0, e = Node->getNumValues(); i != e; ++i)
|
||||
|
Loading…
x
Reference in New Issue
Block a user