Add a basic test that checks races between vector/non-vector
read/write accesses of different sizes/offsets in different orders.
This gives coverage of __tsan_read/write16 callbacks.
Depends on D114591.
Paths
| Differential D114592
tsan: add a test for vector memory accesses ClosedPublic Authored by dvyukov on Nov 25 2021, 6:49 AM.
Details
Summary Add a basic test that checks races between vector/non-vector Depends on D114591.
Diff Detail
Event Timelinedvyukov added a child revision: D114593: tsan: add a benchmark for vector memory accesses.Nov 25 2021, 6:49 AM This revision is now accepted and ready to land.Nov 25 2021, 7:14 AM
Closed by commit rG5cac2b956bcf: tsan: add a test for vector memory accesses (authored by dvyukov). · Explain WhyNov 25 2021, 8:07 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 389769 compiler-rt/test/tsan/test.h
compiler-rt/test/tsan/vector_race.cpp
|
Maybe I misunderstood, but shouldn't these be 'size 16' if we vectorize?