summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2017-06-27 15:46:42 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2017-06-27 15:46:42 +0000
commit5d1c3f6adda1d23b4f200d81be8693ffab860b8d (patch)
treedcf9a1a156c9ccf585b9d2dfe94e8ce81cfe468d /clang/lib/CodeGen
parentd66ee0f9a75e37a2836bd5e48154e8ae1958269c (diff)
downloadbcm5719-llvm-5d1c3f6adda1d23b4f200d81be8693ffab860b8d.tar.gz
bcm5719-llvm-5d1c3f6adda1d23b4f200d81be8693ffab860b8d.zip
[OPENMP] Use MapVector instead of DenseMap for stable codegen, NFC.
llvm-svn: 306419
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r--clang/lib/CodeGen/CGOpenMPRuntime.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGOpenMPRuntime.cpp b/clang/lib/CodeGen/CGOpenMPRuntime.cpp
index 8d83255ac13..0a8fd17c332 100644
--- a/clang/lib/CodeGen/CGOpenMPRuntime.cpp
+++ b/clang/lib/CodeGen/CGOpenMPRuntime.cpp
@@ -5603,7 +5603,7 @@ public:
// We have to process the component lists that relate with the same
// declaration in a single chunk so that we can generate the map flags
// correctly. Therefore, we organize all lists in a map.
- llvm::DenseMap<const ValueDecl *, SmallVector<MapInfo, 8>> Info;
+ llvm::MapVector<const ValueDecl *, SmallVector<MapInfo, 8>> Info;
// Helper function to fill the information map for the different supported
// clauses.
OpenPOWER on IntegriCloud