DenseMap iteration order is not guaranteed, use MapVector instead.
Fix by srhines.
Paths
| Differential D59807
Fix nondeterminism introduced in r353954 ClosedPublic Authored by kongyi on Mar 25 2019, 6:45 PM.
Details Summary DenseMap iteration order is not guaranteed, use MapVector instead. Fix by srhines.
Diff Detail
Event TimelineHerald added subscribers: llvm-commits, jdoerfert, mgrang, hiraditya. · View Herald TranscriptMar 25 2019, 6:45 PM This revision is now accepted and ready to land.Mar 25 2019, 11:43 PM Closed by commit rL356988: Fix nondeterminism introduced in r353954 (authored by kongyi). · Explain WhyMar 26 2019, 5:16 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 192237 llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/test/CodeGen/Generic/selection-dag-determinism.ll
|