]> granicus.if.org Git - llvm/commit
[DAGCombiner] Remove explicit call to AddToWorklist in sqrt and reciprocal computations
authorAmaury Sechet <deadalnix@gmail.com>
Thu, 22 Aug 2019 15:35:45 +0000 (15:35 +0000)
committerAmaury Sechet <deadalnix@gmail.com>
Thu, 22 Aug 2019 15:35:45 +0000 (15:35 +0000)
commitf6826f8d24a3c304baa714a46078f647792fbeee
tree2492509b7fa5eb9f7df4fd8378545ead120394ee
parentde2dc037c80cc6c1466137b048682feff76703c6
[DAGCombiner] Remove explicit call to AddToWorklist in sqrt and reciprocal computations

Summary: These nodes end up being processed regardless due to DAGCombiner ensuring arguments are processed. This changes the order in which nodes are processed, which fixes an issue on PowerPC.

Reviewers: craig.topper, efriedma, RKSimon, lebedev.ri, mcberg2017, stefanp, hfinkel

Subscribers: nemanjai, MaskRay, jsji, steven.zhang, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D66548

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@369662 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/PowerPC/qpx-recipest.ll