[compiler-rt] [llvm] [compiler-rt] Add KCSAN inspired GPU ConcurrencySanitizer runtime (PR #207714)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 6 05:36:33 PDT 2026


================
@@ -0,0 +1,13 @@
+// RUN: %clang_csan %s -o %t && %run --threads 64 --blocks 64 %t 2>&1 | FileCheck %s --allow-empty
+
+#include <gpuintrin.h>
+
+static int data[64 * 64];
+
+// CHECK-NOT: ConcurrencySanitizer
----------------
arsenm wrote:

-NOT checks are terrible, especially for error messages. Positively check an empty output 

https://github.com/llvm/llvm-project/pull/207714


More information about the llvm-commits mailing list