diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2014-08-02 00:19:10 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2014-08-02 00:19:10 +0000 |
commit | 3707dda9041a4cb418537413cde94bfab68697d5 (patch) | |
tree | 5810be11bb8b8b5ced02011883b5fab5161b20a6 | |
parent | 7fde1b3b831fa84920d4e2d344f0e210545ab5b9 (diff) | |
download | bcm5719-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
-rw-r--r-- | llvm/lib/Target/ARM/ARMISelLowering.cpp | 2 |
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; } |