[all-commits] [llvm/llvm-project] 53b904: [MSVC, ARM64] Fix signature for __prefetch (#93235)

Daniel Paoliello via All-commits all-commits at lists.llvm.org
Fri May 24 07:56:38 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 53b904823cba4e93d58793b0804407f812477724
      https://github.com/llvm/llvm-project/commit/53b904823cba4e93d58793b0804407f812477724
  Author: Daniel Paoliello <danpao at microsoft.com>
  Date:   2024-05-24 (Fri, 24 May 2024)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsAArch64.def
    M clang/lib/Headers/intrin.h

  Log Message:
  -----------
  [MSVC, ARM64] Fix signature for __prefetch (#93235)

#67174 added the `__prefetch` intrinsic, however it used the wrong
signature: the argument should be `const void*`, not `void*`.

Docs:
https://learn.microsoft.com/en-us/cpp/intrinsics/arm64-intrinsics?view=msvc-170#:~:text=__prefetch

Unfortunately, this can't be backported (there are no more 18.x
releases, and this change is a breaking change), so I'll see if I can
get a workaround added on MSVC's side for Clang 18.



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