[all-commits] [llvm/llvm-project] 5cac2b: tsan: add a test for vector memory accesses

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Thu Nov 25 08:07:30 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5cac2b956bcf42495a2253443502fb73dbb43c3d
      https://github.com/llvm/llvm-project/commit/5cac2b956bcf42495a2253443502fb73dbb43c3d
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-11-25 (Thu, 25 Nov 2021)

  Changed paths:
    M compiler-rt/test/tsan/test.h
    A compiler-rt/test/tsan/vector_race.cpp

  Log Message:
  -----------
  tsan: add a test for vector memory accesses

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.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D114592




More information about the All-commits mailing list