[all-commits] [llvm/llvm-project] ee9212: [Win/X86] Make _m_prefetch[w] builtins to avoid wi...

Reid Kleckner via All-commits all-commits at lists.llvm.org
Mon Feb 3 14:06:22 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ee92122b53c7af26bb766e89e1d30ceb2fd5bb93
      https://github.com/llvm/llvm-project/commit/ee92122b53c7af26bb766e89e1d30ceb2fd5bb93
  Author: Reid Kleckner <rnk at google.com>
  Date:   2025-02-03 (Mon, 03 Feb 2025)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsX86.td
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/Headers/prfchwintrin.h
    M clang/lib/Headers/xmmintrin.h

  Log Message:
  -----------
  [Win/X86] Make _m_prefetch[w] builtins to avoid winnt.h conflicts (#115099)

This is similar in spirit to previous changes to make _mm_mfence
builtins to avoid conflicts with winnt.h and other MSVC ecosystem
headers that pre-declare compiler intrinsics as extern "C" symbols.

Also update the feature flag for _mm_prefetch to sse, which is more accurate than mmx.

This should fix issue #87515.



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