[PATCH] D72031: [Scheduling] Create the missing dependency edges for store cluster
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 7 03:41:37 PST 2020
fhahn added inline comments.
================
Comment at: llvm/lib/CodeGen/MachineScheduler.cpp:1598
+ // do not need to be copied from SUa to SUb since no one will depend
+ // on stores.
+ for (const SDep &Pred : SUb->Preds) {
----------------
steven.zhang wrote:
> fhahn wrote:
> > I may be missing something, but IIRC stores could have other memory operations as successors, e.g. because to enforce an ordering between aliasing memory operations.
> It they have memory dependency, they won't be put into the same group.
Ah right. The wording in the comment comment seems a bit general though, maybe it would be possible to mention that this is a constraint for the clustering. It might be good to add it as assert as well :)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72031/new/
https://reviews.llvm.org/D72031
More information about the llvm-commits
mailing list