[PATCH] D36704: [CodeGen] Improve the consistency of instruction fusion

Evandro Menezes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 16 15:50:23 PDT 2017


evandro added a comment.

There may be situations when the SecondSU has a couple of predecessors, but only one of them makes a pair and becomes the FirstSU.  I think that if one chooses the scheduler to be only either top-down or bottom-up, this change would keep the results consistent.

Control dependencies are weaker than data dependencies and, since I could not find different results, it seemed sensible to trim the graph.


https://reviews.llvm.org/D36704





More information about the llvm-commits mailing list