diff options
author | Charlie Turner <charlie.turner@arm.com> | 2015-11-26 20:39:51 +0000 |
---|---|---|
committer | Charlie Turner <charlie.turner@arm.com> | 2015-11-26 20:39:51 +0000 |
commit | 54336a5a4e727f9729b6916f1fa79be9521d5edb (patch) | |
tree | 44d0af81062e19b27999efbf5ee745b7ae16e78c /clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp | |
parent | a1b8fc3bb49613153e48f81353a172b71343adf8 (diff) | |
download | llvm-54336a5a4e727f9729b6916f1fa79be9521d5edb.zip llvm-54336a5a4e727f9729b6916f1fa79be9521d5edb.tar.gz llvm-54336a5a4e727f9729b6916f1fa79be9521d5edb.tar.bz2 |
[LoopVectorize] Use MapVector rather than DenseMap for MinBWs.
The order in which instructions are truncated in truncateToMinimalBitwidths
effects code generation. Switch to a map with a determinisic order, since the
iteration order over a DenseMap is not defined.
This code is not hot, so the difference in container performance isn't
interesting.
Many thanks to David Blaikie for making me aware of MapVector!
Fixes PR25490.
Differential Revision: http://reviews.llvm.org/D14981
llvm-svn: 254179
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp')
0 files changed, 0 insertions, 0 deletions