[PATCH] D35144: [CodeGen] Add dependency printer
Matthias Braun via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 10 19:33:42 PDT 2017
MatzeB accepted this revision.
MatzeB added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: llvm/lib/CodeGen/ScheduleDAG.cpp:71
+LLVM_DUMP_METHOD
+raw_ostream &SDep::print(raw_ostream &OS, const ScheduleDAG *G) const {
+ switch (getKind()) {
----------------
May want to pass in `TargetRegisterInfo*` instead of ScheduleDAG if that is the only thing used from the ScheduleDAG.
Repository:
rL LLVM
https://reviews.llvm.org/D35144
More information about the llvm-commits
mailing list