[PATCH] D35144: [CodeGen] Add dependency printer
Evandro Menezes via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 11 11:06:27 PDT 2017
evandro added inline comments.
================
Comment at: llvm/lib/CodeGen/ScheduleDAG.cpp:71
+LLVM_DUMP_METHOD
+raw_ostream &SDep::print(raw_ostream &OS, const ScheduleDAG *G) const {
+ switch (getKind()) {
----------------
MatzeB wrote:
> May want to pass in `TargetRegisterInfo*` instead of ScheduleDAG if that is the only thing used from the ScheduleDAG.
I don't feel strongly about this, but I used `ScheduleDAG` to keep the method similar to the one in `SUnit`.
Repository:
rL LLVM
https://reviews.llvm.org/D35144
More information about the llvm-commits
mailing list