diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2017-06-27 15:46:42 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2017-06-27 15:46:42 +0000 |
commit | 5d1c3f6adda1d23b4f200d81be8693ffab860b8d (patch) | |
tree | dcf9a1a156c9ccf585b9d2dfe94e8ce81cfe468d /clang/lib/CodeGen/CGOpenMPRuntime.cpp | |
parent | d66ee0f9a75e37a2836bd5e48154e8ae1958269c (diff) | |
download | bcm5719-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/CGOpenMPRuntime.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGOpenMPRuntime.cpp | 2 |
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. |