[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
Mon Dec 11 23:48:28 PST 2023
================
@@ -658,6 +698,30 @@ bool ThreadSanitizer::instrumentLoadOrStore(const InstructionInfo &II,
return true;
}
+bool ThreadSanitizer::instrumentGatherOrScatter(Instruction *I,
+ const DataLayout &DL) {
+ InstrumentationIRBuilder IRB(I);
+ StringRef FunctionNameRef =
+ dyn_cast<CallInst>(I)->getCalledFunction()->getName();
+ bool IsScatter = FunctionNameRef.contains("scatter");
----------------
vitalybuka wrote:
same here
https://github.com/llvm/llvm-project/pull/74636
More information about the Openmp-commits
mailing list