From 2b18c99cf10f39da80ef2115e66a12a3f39ed460 Mon Sep 17 00:00:00 2001 From: Teresa Johnson Date: Mon, 18 Dec 2017 18:00:32 +0000 Subject: [PATCH] [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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@321000 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/ThinLTO/X86/distributed_indexes.ll | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/ThinLTO/X86/distributed_indexes.ll b/test/ThinLTO/X86/distributed_indexes.ll index d7e68ed5ecb..bcde341bbac 100644 --- a/test/ThinLTO/X86/distributed_indexes.ll +++ b/test/ThinLTO/X86/distributed_indexes.ll @@ -16,10 +16,10 @@ ; BACKEND1-NEXT: -; BACKEND2-DAG: -; BACKEND2-DAG: +; BACKEND2-DAG: +; BACKEND2-DAG: +; BACKEND2-DAG: ; BACKEND2-NEXT: