This is part of the change in https://reviews.llvm.org/D28907
With the support of non-alternative operations from PR30787, I found that after bundle scheduling it might be incorrectly ordered for finding the last scheduled instruction in the bundle. Here is the change that solves the issue by reordering the already scheduled bundles, also in this change I assume that for not yet scheduled bundle it is the first instruction in the bundle that should be the last one in the basic block.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
We discussed it in private already, I explained why I don't like and suggested to try another solution.