[PATCH] D99434: [TSAN] Honor failure memory orders in AtomicCAS
Bruno Cardoso Lopes via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 11 17:43:33 PDT 2021
bruno updated this revision to Diff 344614.
bruno added a comment.
Cool, thanks for the input!
- Update the patch to prevent unnecessary lock/unlock dance.
- Changing `atexit_sleep_ms` didn't really changed the ballpark, rewrite test to include all checks in one run, this brings it down to 1.5-2s total time.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99434/new/
https://reviews.llvm.org/D99434
Files:
compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cpp
compiler-rt/test/tsan/compare_exchange.cpp
llvm/test/Instrumentation/ThreadSanitizer/atomic.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99434.344614.patch
Type: text/x-patch
Size: 18797 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210512/b4bfb8e5/attachment.bin>
More information about the llvm-commits
mailing list