[PATCH] D135966: [X86] Use unsigned int for return type of __get_cpuid_max.
Craig Topper via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 14 11:45:49 PDT 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG71a9b8833231: [X86] Use unsigned int for return type of __get_cpuid_max. (authored by craig.topper).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135966/new/
https://reviews.llvm.org/D135966
Files:
clang/lib/Headers/cpuid.h
Index: clang/lib/Headers/cpuid.h
===================================================================
--- clang/lib/Headers/cpuid.h
+++ clang/lib/Headers/cpuid.h
@@ -261,7 +261,8 @@
: "0"(__leaf), "2"(__count))
#endif
-static __inline int __get_cpuid_max (unsigned int __leaf, unsigned int *__sig)
+static __inline unsigned int __get_cpuid_max (unsigned int __leaf,
+ unsigned int *__sig)
{
unsigned int __eax, __ebx, __ecx, __edx;
#if __i386__
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135966.467870.patch
Type: text/x-patch
Size: 508 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221014/f9f38997/attachment.bin>
More information about the cfe-commits
mailing list