[all-commits] [llvm/llvm-project] fdadef: [msan] Handle x86_avx512_(min|max)_p[sd]_512 intri...

Thurston Dang via All-commits all-commits at lists.llvm.org
Tue Jan 28 19:13:05 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fdadef9be33fb3f0844b85c35a63a8a4137382dd
      https://github.com/llvm/llvm-project/commit/fdadef9be33fb3f0844b85c35a63a8a4137382dd
  Author: Thurston Dang <thurston at google.com>
  Date:   2025-01-28 (Tue, 28 Jan 2025)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
    M llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll
    M llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics.ll

  Log Message:
  -----------
  [msan] Handle x86_avx512_(min|max)_p[sd]_512 intrinsics (#124421)

The AVX/SSE variants are already handled heuristically (maybeHandleSimpleNomemIntrinsic via handleUnknownIntrinsic), but the AVX512 variants contain an additional parameter (the rounding method) which fails to match heuristically. This patch generalizes maybeHandleSimpleNomemIntrinsic to allow additional flags (ignored by MSan) and explicitly call it to handle AVX512 min/max ps/pd intrinsics.

It also updates the test added in https://github.com/llvm/llvm-project/pull/123980



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list