[llvm] [compiler-rt] [openmp] [TSan] Add instrumentation of AVX2 and AVX512 instructions (PR #74636)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 11 23:48:28 PST 2023


================
@@ -804,8 +868,8 @@ int ThreadSanitizer::getMemoryAccessFuncIndex(Type *OrigTy, Value *Addr,
                                               const DataLayout &DL) {
   assert(OrigTy->isSized());
   uint32_t TypeSize = DL.getTypeStoreSizeInBits(OrigTy);
-  if (TypeSize != 8  && TypeSize != 16 &&
-      TypeSize != 32 && TypeSize != 64 && TypeSize != 128) {
+  if (TypeSize != 8 && TypeSize != 16 && TypeSize != 32 && TypeSize != 64 &&
----------------
vitalybuka wrote:

!isPowerOf2_32()  || <8 || >512

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


More information about the llvm-commits mailing list