[all-commits] [llvm/llvm-project] bac417: Remove xbegin and _xend (#126952)

Devon Loehr via All-commits all-commits at lists.llvm.org
Sat Feb 22 00:46:29 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bac4171073399352e5bd0ba541820e2a9b3f37d7
      https://github.com/llvm/llvm-project/commit/bac4171073399352e5bd0ba541820e2a9b3f37d7
  Author: Devon Loehr <DKLoehr at users.noreply.github.com>
  Date:   2025-02-22 (Sat, 22 Feb 2025)

  Changed paths:
    M clang/lib/Headers/intrin.h
    A clang/test/Headers/no-xend.cpp

  Log Message:
  -----------
  Remove xbegin and _xend (#126952)

`intrin.h` contains declarations for both `xbegin` and `_xend`, but they
should already be included transitively from `rtmintrin.h` via
`immintrin.h` and/or `x86intrin.h`. Having them in both places causes
problems if both headers are included.

Furthermore, the `intrin.h` declaration of `xbegin` seems to be bugged
anyway, since it's missing its leading underscore.

Fixes #95133



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