[all-commits] [llvm/llvm-project] 328bb4: Add a policy to enable computing SchedDFSResult.

Mark Lacey via All-commits all-commits at lists.llvm.org
Wed Apr 22 16:38:03 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 328bb446ddd2c03e4da3e9aa0473fa2f1c52d34e
      https://github.com/llvm/llvm-project/commit/328bb446ddd2c03e4da3e9aa0473fa2f1c52d34e
  Author: Mark Lacey <mark.lacey at apple.com>
  Date:   2020-04-22 (Wed, 22 Apr 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineScheduler.h
    M llvm/lib/CodeGen/MachineScheduler.cpp

  Log Message:
  -----------
  Add a policy to enable computing SchedDFSResult.

Summary:
Make GenericScheduler compute SchedDFSResult on initialization if
the policy is set. This makes it possible to create classes
that extend GenericScheduler and rely on the results of SchedDFSResult,
e.g. to perform subtree scheduling.

NFC unless the policy is set.

Subscribers: MatzeB, hiraditya, javed.absar, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list