[all-commits] [llvm/llvm-project] ff6567: [DAGCombiner] Add node back in the worklist in top...

deadalnix via All-commits all-commits at lists.llvm.org
Tue Dec 17 09:26:29 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ff6567cc7720655de9d8731fb3005d1aaccec96a
      https://github.com/llvm/llvm-project/commit/ff6567cc7720655de9d8731fb3005d1aaccec96a
  Author: Amaury Séchet <deadalnix at gmail.com>
  Date:   2019-12-17 (Tue, 17 Dec 2019)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

  Log Message:
  -----------
  [DAGCombiner] Add node back in the worklist in topological order in CommitTargetLoweringOpt

Summary:
Right now, DAGCombiner process the nodes in an iplementation defined order. This tends to be fragile as optimisation may or may not kick in depending on the traversal order.

This is part of a larger effort to get the DAGCombiner to process its node in topological order.

Reviewers: craig.topper, efriedma, RKSimon, lebedev.ri

Subscribers: hiraditya, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list