diff options
author | Pablo Barrio <pablo.barrio@arm.com> | 2016-11-14 10:24:26 +0000 |
---|---|---|
committer | Pablo Barrio <pablo.barrio@arm.com> | 2016-11-14 10:24:26 +0000 |
commit | 7ce2c5ecaf780314e50796237832900c3d63da5b (patch) | |
tree | 4c0bcc040e964319911c912fc968fb11a791da03 /llvm/lib/CodeGen/MachineDominanceFrontier.cpp | |
parent | a92d49dabf376ae6db4bb16e2bdd5d6382be6103 (diff) | |
download | bcm5719-llvm-7ce2c5ecaf780314e50796237832900c3d63da5b.tar.gz bcm5719-llvm-7ce2c5ecaf780314e50796237832900c3d63da5b.zip |
[JumpThreading] Prevent non-deterministic use lists
Summary:
Unfolding selects was previously done with the help of a vector
of pointers that was then sorted to be able to remove duplicates.
As this sorting depends on the memory addresses, it was
non-deterministic. A SetVector is used now so that duplicates are
removed without the need of sorting first.
Reviewers: mgrang, efriedma
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D26450
llvm-svn: 286807
Diffstat (limited to 'llvm/lib/CodeGen/MachineDominanceFrontier.cpp')
0 files changed, 0 insertions, 0 deletions