mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
[SDAG] Let the DAG combiner take care of dead nodes rather than manually
deleting them. This already seems to work, as no tests fail without this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214601 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
842a06e8dd
commit
5e3bfde3f4
@ -8443,8 +8443,6 @@ static SDValue PerformVMOVRRDCombine(SDNode *N,
|
||||
if (DCI.DAG.getTargetLoweringInfo().isBigEndian())
|
||||
std::swap (NewLD1, NewLD2);
|
||||
SDValue Result = DCI.CombineTo(N, NewLD1, NewLD2);
|
||||
DCI.RemoveFromWorklist(LD);
|
||||
DAG.DeleteNode(LD);
|
||||
return Result;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user