mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-06 09:44:39 +00:00
Fix a really scary bug that Nate found where we weren't deleting the right
elements auto of the autoCSE maps. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21128 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7ddecb4186
commit
8e8bd656b3
@ -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…
x
Reference in New Issue
Block a user