[PATCH] D150646: [clang][X86] Add __cpuidex function to cpuid.h

Mike Hommey via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 30 00:28:10 PDT 2023


glandium added a comment.

In D150646#4380058 <https://reviews.llvm.org/D150646#4380058>, @mstorsjo wrote:

> Regarding "fixed" - do you see any better way of fixing it there? As it's a static inline function, there's no simple way of knowing whether it was already defined or not; I went with the same pattern used for the existing version check for GCC.

I mean, it fixes the issue if you apply the patch or update mingw headers. Whether that should be required or not is a good question.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150646/new/

https://reviews.llvm.org/D150646



More information about the cfe-commits mailing list