[PATCH] D66548: [DAGCombiner] Remove explicit call to AddToWorklist in sqrt and reciprocal computations

Amaury SECHET via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 21 13:21:49 PDT 2019


deadalnix created this revision.
deadalnix added reviewers: craig.topper, efriedma, RKSimon, lebedev.ri, mcberg2017, stefanp, hfinkel.
Herald added subscribers: llvm-commits, steven.zhang, jsji, MaskRay, nemanjai.
Herald added a project: LLVM.

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.


Repository:
  rL LLVM

https://reviews.llvm.org/D66548

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/PowerPC/qpx-recipest.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66548.216456.patch
Type: text/x-patch
Size: 4755 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190821/4a301061/attachment.bin>


More information about the llvm-commits mailing list