diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2016-11-08 05:34:50 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2016-11-08 05:34:50 +0000 |
commit | 62f99cc4864364d6bd01321a4dccb4466618a318 (patch) | |
tree | 9c3d5faa61b41daf1c8c4a91d75f597874bc5f63 /llvm/lib/Bitcode/Reader/BitReader.cpp | |
parent | 5ca4d5f5fe3094beaeb2fca3be046a3191f67702 (diff) | |
download | llvm-62f99cc4864364d6bd01321a4dccb4466618a318.zip llvm-62f99cc4864364d6bd01321a4dccb4466618a318.tar.gz llvm-62f99cc4864364d6bd01321a4dccb4466618a318.tar.bz2 |
tsan: more precise handling of atomic stores
Atomic stores terminate release sequences on the atomic variable,
and must use ReleaseStore primitive instead of Release.
This was broken in r192355 during a refactoring.
Restore correct behavior and add a test.
llvm-svn: 286211
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitReader.cpp')
0 files changed, 0 insertions, 0 deletions