diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2022-03-01 15:22:53 -0600 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2022-03-06 23:26:22 -0600 |
commit | ad26e199ffb1b9eb8e400b113107617055c0dabf (patch) | |
tree | b08652a83b2eee503708a87df93489f2ad0161c6 /clang/lib/Basic/Module.cpp | |
parent | acb3773491721c8cc844f12c540b8f811d823f73 (diff) | |
download | llvm-ad26e199ffb1b9eb8e400b113107617055c0dabf.zip llvm-ad26e199ffb1b9eb8e400b113107617055c0dabf.tar.gz llvm-ad26e199ffb1b9eb8e400b113107617055c0dabf.tar.bz2 |
[Attributor] Use CFG reasoning also for read accesses
With D106397 we used CFG reasoning to filter out writes that will not
interfere with a given load instruction. With this patch we use the
same logic (modulo the reversal in reachability check order) for store
instructions. As an example, we can now proof stores to shared memory
are dead if all the loads of the shared memory are not reachable from
them.
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions