mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-11 13:29:36 +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…
x
Reference in New Issue
Block a user