diff options
author | George Burgess IV <george.burgess.iv@gmail.com> | 2018-03-29 00:54:39 +0000 |
---|---|---|
committer | George Burgess IV <george.burgess.iv@gmail.com> | 2018-03-29 00:54:39 +0000 |
commit | 3588fd4865695be266f8b53c6903393ee2f4d417 (patch) | |
tree | c1c152d66ef74c29aafd49988f543af83b62932a /clang/lib/Sema/SemaTemplateInstantiateDecl.cpp | |
parent | 88a16a07909b4187296bf53158eb2f7a8d989516 (diff) | |
download | bcm5719-llvm-3588fd4865695be266f8b53c6903393ee2f4d417.tar.gz bcm5719-llvm-3588fd4865695be266f8b53c6903393ee2f4d417.zip |
[MemorySSA] Consider callsite args for hashing and equality.
We use a `DenseMap<MemoryLocOrCall, MemlocStackInfo>` to keep track of
prior work when optimizing uses in MemorySSA. Because we weren't
accounting for callsite arguments in either the hash code or equality
tests for `MemoryLocOrCall`s, we optimized uses too aggressively in
some rare cases.
Fix by Daniel Berlin.
Should fix PR36883.
llvm-svn: 328748
Diffstat (limited to 'clang/lib/Sema/SemaTemplateInstantiateDecl.cpp')
0 files changed, 0 insertions, 0 deletions