This finds all of the references to a frame index in a function, and
sorts by the offset. If multiple instructions use the same offset,
nothing was breaking the tie for sorting.
This avoids the test failures the reverted r282999 introduced.
Differential D25188
Fix nondeterministic output in local stack slot alloc pass arsenm on Oct 3 2016, 7:31 AM. Authored by
Details
Diff Detail Event TimelineComment Actions Matthias, Could you please review this patch? My patch (https://reviews.llvm.org/D25695) tries to fix this by adding a FrameIdx as a tie-breaker. --Mandeep
|
Can we change this into: