summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-tidy/android-cloexec-open.cpp
diff options
context:
space:
mode:
authorKeno Fischer <keno@alumni.harvard.edu>2017-06-29 19:13:11 +0000
committerKeno Fischer <keno@alumni.harvard.edu>2017-06-29 19:13:11 +0000
commit99886f09a13127f676e5136e1c639021f35de02b (patch)
treeb8bcd356f54b324673bc38404ca636ca968657d6 /clang-tools-extra/test/clang-tidy/android-cloexec-open.cpp
parent5e0a9465c4cf87f168ed6aa2dafb7f69848225cc (diff)
downloadbcm5719-llvm-99886f09a13127f676e5136e1c639021f35de02b.tar.gz
bcm5719-llvm-99886f09a13127f676e5136e1c639021f35de02b.zip
[AliasSetTracker] Don't drop AA MD so eagerly
Summary: When we have patterns like loop: %la = load %ptr, !tbaa %lba = load %ptr, !tbaa !noalias AliasSetTracker would previously think that the two types of annotation for the pointer conflict, dropping both for the purpose of determining alias sets. That is clearly way too conservative, as the tbaa is still valid whether or not one of the memory accesses has additional AA metadata. We could go one step further and attempt to properly merge the AA metadata, but it's not clear that that would be worth it since that may introduce additional MD nodes, which may be undesirable since this is merely an Analysis. Reviewers: hfinkel Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D32139 llvm-svn: 306727
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/android-cloexec-open.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud