[all-commits] [llvm/llvm-project] 3b5aff: [clang][X86] Update __cpuidex_conflict.c test post...

Aiden Grossman via All-commits all-commits at lists.llvm.org
Wed Jul 30 11:19:22 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b5aff569d0604d554a6648920cc627d71748ae4
      https://github.com/llvm/llvm-project/commit/3b5aff569d0604d554a6648920cc627d71748ae4
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2025-07-30 (Wed, 30 Jul 2025)

  Changed paths:
    M clang/test/Headers/__cpuidex_conflict.c

  Log Message:
  -----------
  [clang][X86] Update __cpuidex_conflict.c test post #126324 (#151220)

It does not look like __cpuidex builtins are being incorrectly included
in compilations for offload targets anymore, so change up the test to
assume that we are defining __cpuidex as static in cpuid.h now that
\#126324 updates the behavior of __has_builtin on offload compilations.

This ensures we are still testing that we are avoiding the conflicts
around offloading that were first pointed out in
https://reviews.llvm.org/D150646.



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