[Openmp-commits] [compiler-rt] [llvm] [openmp] [TSan] Add instrumentation of AVX2 and AVX512 instructions (PR #74636)
Vitaly Buka via Openmp-commits
openmp-commits at lists.llvm.org
Wed Dec 6 15:05:29 PST 2023
================
@@ -213,6 +219,26 @@ void ThreadSanitizer::initialize(Module &M, const TargetLibraryInfo &TLI) {
TsanIgnoreEnd =
M.getOrInsertFunction("__tsan_ignore_thread_end", Attr, IRB.getVoidTy());
IntegerType *OrdTy = IRB.getInt32Ty();
+
----------------
vitalybuka wrote:
These test are IR test, no clang or c++
llvm-project/llvm/test/Instrumentation/ThreadSanitizer/*
just `; RUN: opt < %s -passes=tsan -S | FileCheck %s`
you can generate IR as you like, e.g. copy from other tests, or dump clang output.
but ideally they should be close as possible the point, with minimal unrelated code.
https://github.com/llvm/llvm-project/pull/74636
More information about the Openmp-commits
mailing list