This fixes failures in the following tests uncovered by D39245:
LLVM :: CodeGen/ARM/ifcvt3.ll LLVM :: CodeGen/ARM/switch-minsize.ll LLVM :: CodeGen/X86/switch.ll
Differential D39995
[SelectionDAG] Make sorting predicate stronger to remove non-deterministic ordering Authored by mgrang on Nov 13 2017, 6:17 PM.
Details This fixes failures in the following tests uncovered by D39245: LLVM :: CodeGen/ARM/ifcvt3.ll LLVM :: CodeGen/ARM/switch-minsize.ll LLVM :: CodeGen/X86/switch.ll
Diff Detail
Event Timeline
Comment Actions Fixed another instance of non-deterministic ordering causing failure in CodeGen/X86/switch.ll. | ||||||||||||||||||||||||||||||
I might be missing something but could we still end up with multiple clusters where a.Prob == b.Prob && a.Low == b.Low ? Then the order of those nodes would still be non-deterministic, no?