summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMISelLowering.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-08-02 00:19:10 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-08-02 00:19:10 +0000
commit3707dda9041a4cb418537413cde94bfab68697d5 (patch)
tree5810be11bb8b8b5ced02011883b5fab5161b20a6 /llvm/lib/Target/ARM/ARMISelLowering.cpp
parent7fde1b3b831fa84920d4e2d344f0e210545ab5b9 (diff)
downloadbcm5719-llvm-3707dda9041a4cb418537413cde94bfab68697d5.tar.gz
bcm5719-llvm-3707dda9041a4cb418537413cde94bfab68697d5.zip
[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. llvm-svn: 214601
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMISelLowering.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp
index a67c68a4317..d6120c776a0 100644
--- a/llvm/lib/Target/ARM/ARMISelLowering.cpp
+++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp
@@ -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;
}
OpenPOWER on IntegriCloud