case ISD::SETCC:
SetCCs.erase(std::make_pair(std::make_pair(N->getOperand(0),
N->getOperand(1)),
- cast<SetCCSDNode>(N)->getCondition()));
+ std::make_pair(
+ cast<SetCCSDNode>(N)->getCondition(),
+ N->getValueType(0))));
break;
case ISD::TRUNCSTORE:
case ISD::SIGN_EXTEND_INREG:
}
}
- SetCCSDNode *&N = SetCCs[std::make_pair(std::make_pair(N1, N2), Cond)];
+ SetCCSDNode *&N = SetCCs[std::make_pair(std::make_pair(N1, N2),
+ std::make_pair(Cond, VT))];
if (N) return SDOperand(N, 0);
N = new SetCCSDNode(Cond, N1, N2);
N->setValueTypes(VT);