[ThinLTO] Make distributed indexes test more robust
authorTeresa Johnson <tejohnson@google.com>
Mon, 18 Dec 2017 18:00:32 +0000 (18:00 +0000)
committerTeresa Johnson <tejohnson@google.com>
Mon, 18 Dec 2017 18:00:32 +0000 (18:00 +0000)
commit9ecaaff2517b2cfd3e1eb73a5e7cd32ded14a5a8
treecb1d242f00eaba96f9adb59031f86f89b57cb4f7
parent9d301b37503ed5e9fb04861f13287088dfe654c6
[ThinLTO] Make distributed indexes test more robust

Modify test so that it passes in the reverse-iteration bot.
We use DenseMap instead of std::map for the summaries to emit into
distributed index files. The iteration order is not defined, but
it is deterministic, which is good enough.

llvm-svn: 321000
llvm/test/ThinLTO/X86/distributed_indexes.ll