diff options
author | George Burgess IV <george.burgess.iv@gmail.com> | 2018-08-27 22:10:59 +0000 |
---|---|---|
committer | George Burgess IV <george.burgess.iv@gmail.com> | 2018-08-27 22:10:59 +0000 |
commit | aa09a82b4b1b475ea503e756f3d4f95ccce0134a (patch) | |
tree | 842fe8dd9c0724f7e1e17c4bee99968380d18803 /llvm/lib/Transforms | |
parent | e3841eea87b6f2a0e4d1acfe8749020f60825b6a (diff) | |
download | bcm5719-llvm-aa09a82b4b1b475ea503e756f3d4f95ccce0134a.tar.gz bcm5719-llvm-aa09a82b4b1b475ea503e756f3d4f95ccce0134a.zip |
s/std::set/DenseSet/; NFC
We only use this set for `insert` and `count`, so a hashing container
seems better here.
llvm-svn: 340783
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r-- | llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp b/llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp index 8fe7ae1282c..bfab96a1ddb 100644 --- a/llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp +++ b/llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp @@ -237,7 +237,7 @@ void splitAndWriteThinLTOBitcode( // sound because the virtual constant propagation optimizations effectively // inline all implementations of the virtual function into each call site, // rather than using function attributes to perform local optimization. - std::set<const Function *> EligibleVirtualFns; + DenseSet<const Function *> EligibleVirtualFns; // If any member of a comdat lives in MergedM, put all members of that // comdat in MergedM to keep the comdat together. DenseSet<const Comdat *> MergedMComdats; |