diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2022-07-22 23:56:12 -0500 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2022-07-22 23:57:57 -0500 |
commit | 6b7eae11f162f33174ea9f5f446dcc3c1908457c (patch) | |
tree | 1da662cdead9bb9085cde3b25f296c86ed208ea3 /clang/lib/CodeGen/CodeGenModule.h | |
parent | baec06a9d499c76635378f570166066b522d4a62 (diff) | |
download | llvm-6b7eae11f162f33174ea9f5f446dcc3c1908457c.zip llvm-6b7eae11f162f33174ea9f5f446dcc3c1908457c.tar.gz llvm-6b7eae11f162f33174ea9f5f446dcc3c1908457c.tar.bz2 |
[Attributor][FIX] HasBeenWrittenTo logic should only be used for reads
If we look at a write, we should not enact the "has been written to"
logic introduced to avoid spurious write -> read dependences. Doing so
lead to elimination of stores we needed, which is obviously bad.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions