forked from OSchip/llvm-project
Fix a really scary bug that Nate found where we weren't deleting the right
elements auto of the autoCSE maps. llvm-svn: 21128
This commit is contained in:
parent
d20628ff7d
commit
7d13eae254
|
@ -241,7 +241,7 @@ void SelectionDAG::DeleteNodeIfDead(SDNode *N, void *NodeSet) {
|
|||
case ISD::SEXTLOAD:
|
||||
case ISD::ZEXTLOAD: {
|
||||
EVTStruct NN;
|
||||
NN.Opcode = ISD::TRUNCSTORE;
|
||||
NN.Opcode = N->getOpcode();
|
||||
NN.VT = N->getValueType(0);
|
||||
NN.EVT = cast<MVTSDNode>(N)->getExtraValueType();
|
||||
for (unsigned i = 0, e = N->getNumOperands(); i != e; ++i)
|
||||
|
|
Loading…
Reference in New Issue