[PATCH] D35229: [CodeGen] Add support for instruction clusters
Javed Absar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 14 03:55:23 PDT 2017
javed.absar added inline comments.
================
Comment at: llvm/lib/CodeGen/ScheduleDAGInstrs.cpp:242
+ UseSU->print(dbgs()); dbgs() << '\n';);
+ UseSU->addPred(SDep(SU, SDep::Artificial));
+ }
----------------
evandro wrote:
> javed.absar wrote:
> > May be I am bit confused here, but should it not be SDep(Def, SDep::Artificial) ?
> > Please consider rewording the comment to make the intention clearer, if possible.
> For each instruction, go over its predecessors looking for any instruction that's clustered to it. Then, go over the successors of the clustered instruction and bind them to the original instruction.
Thanks, much clearer. May this reply could be added as comment.
Repository:
rL LLVM
https://reviews.llvm.org/D35229
More information about the llvm-commits
mailing list