[all-commits] [llvm/llvm-project] f3baf6: Revert "[clang][X86] Add __cpuidex function to cpu...

Aiden Grossman via All-commits all-commits at lists.llvm.org
Fri Aug 4 13:29:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f3baf63d9a1ba91974f4df6abb8f2abd9a0df5b5
      https://github.com/llvm/llvm-project/commit/f3baf63d9a1ba91974f4df6abb8f2abd9a0df5b5
  Author: Aiden Grossman <agrossman154 at yahoo.com>
  Date:   2023-08-04 (Fri, 04 Aug 2023)

  Changed paths:
    M clang/lib/Headers/cpuid.h
    R clang/test/Headers/__cpuidex_conflict.c
    M clang/test/Headers/cpuid.c

  Log Message:
  -----------
  Revert "[clang][X86] Add __cpuidex function to cpuid.h"

This reverts commit 2df77ac20a1ed996706b164b0c4ed5ad140f635f.

This has been causing some issues with some windows builds as
_MSC_EXTENSIONS isn't defined when only -fms-extensions is set, but the
builtin that conflicts with __cpuidex is. This was also causing problems
as it exposed some latent issues with how auxiliary triples are handled
in clang.

Differential Revision: https://reviews.llvm.org/D157115




More information about the All-commits mailing list