[PATCH] D59689: [ScheduleDAG] Move `Topo` and `addEdge` to base class.

Clement Courbet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 22 03:40:44 PDT 2019


courbet created this revision.
Herald added subscribers: javed.absar, hiraditya, nhaehnle, jvesely, arsenm, MatzeB.
Herald added a project: LLVM.
courbet added a child revision: D59688: [X86] Make post-ra scheduling macrofusion-aware..

Some DAG mutations can only be applied to `ScheduleDAGMI`, and have to
internally cast a `ScheduleDAGInstrs` to `ScheduleDAGMI`.

There is nothing actually specific to `ScheduleDAGMI` in `Topo`.

This allows using DAG mutations for other ScheduleDAG implementations (see D59688 <https://reviews.llvm.org/D59688>).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D59689

Files:
  llvm/include/llvm/CodeGen/MachineScheduler.h
  llvm/include/llvm/CodeGen/ScheduleDAGInstrs.h
  llvm/lib/CodeGen/MachineScheduler.cpp
  llvm/lib/CodeGen/MacroFusion.cpp
  llvm/lib/CodeGen/ScheduleDAGInstrs.cpp
  llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59689.191846.patch
Type: text/x-patch
Size: 10096 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190322/5e186a1c/attachment.bin>


More information about the llvm-commits mailing list