[all-commits] [llvm/llvm-project] 12dc13: prfchwintrin.h: Make _m_prefetchw take a pointer t...

Hans via All-commits all-commits at lists.llvm.org
Mon Aug 2 06:16:25 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 12dc13b73cf8c11da1bcc354c78bd6a9c92408e8
      https://github.com/llvm/llvm-project/commit/12dc13b73cf8c11da1bcc354c78bd6a9c92408e8
  Author: Hans Wennborg <hans at chromium.org>
  Date:   2021-08-02 (Mon, 02 Aug 2021)

  Changed paths:
    M clang/lib/Headers/prfchwintrin.h

  Log Message:
  -----------
  prfchwintrin.h: Make _m_prefetchw take a pointer to volatile (PR49124)

For some reason, Microsoft declares _m_prefetch to take a const void*,
but _m_prefetchw to take a /volatile/ const void*.

Do the same for compatibility.

Differential revision: https://reviews.llvm.org/D106790




More information about the All-commits mailing list