summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/algorithms
diff options
context:
space:
mode:
authorFlorian Hahn <florian.hahn@arm.com>2018-05-24 21:33:17 +0000
committerFlorian Hahn <florian.hahn@arm.com>2018-05-24 21:33:17 +0000
commita4ffa3accf25c0f57f3cdef74bc1a3fdd8cfc0be (patch)
tree560bc7d2dd1303efb841965f22b439d742324fbd /libcxx/test/std/algorithms
parent4a3e2dc8f97b5061a8ef1343f9d70d76e4c90231 (diff)
downloadbcm5719-llvm-a4ffa3accf25c0f57f3cdef74bc1a3fdd8cfc0be.tar.gz
bcm5719-llvm-a4ffa3accf25c0f57f3cdef74bc1a3fdd8cfc0be.zip
[LegacyPM] Use MapVector for OnTheFlyPassManagers.
Currently the iteration order of OnTheFlyManagers is not deterministic between executions, which means some of test/Other/opt-*-pipeline.ll tests fail non-deterministically if an additional on-the-fly manager is added, as in D45330. By using MapVector, we always iterate in the insertion order. As we are not removing elements, there shouldn't be a performance hit, except that we store an additional vector with the keys. Reviewers: efriedma, chandlerc, pcc, jhenderson Reviewed By: efriedma Differential Revision: https://reviews.llvm.org/D47317 llvm-svn: 333231
Diffstat (limited to 'libcxx/test/std/algorithms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud