This is an archive of the discontinued LLVM Phabricator instance.

[X86] Use unsigned int for return type of __get_cpuid_max.
ClosedPublic

Authored by craig.topper on Oct 14 2022, 9:14 AM.

Details

Summary

It looks like gcc's header already uses unsigned int and we should
match.

Fixes PR58359.

Diff Detail

Event Timeline

craig.topper created this revision.Oct 14 2022, 9:14 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 14 2022, 9:14 AM
Herald added a subscriber: StephenFan. · View Herald Transcript
craig.topper requested review of this revision.Oct 14 2022, 9:14 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 14 2022, 9:14 AM
This revision is now accepted and ready to land.Oct 14 2022, 11:19 AM
This revision was landed with ongoing or failed builds.Oct 14 2022, 11:45 AM
This revision was automatically updated to reflect the committed changes.