This is an archive of the discontinued LLVM Phabricator instance.

Fix cpu architecture detection on x86 during cmake configuration
ClosedPublic

Authored by serge-sans-paille on Jul 3 2020, 2:39 PM.

Details

Reviewers
itaraban
MatzeB
Summary

In presence of unknown models, the program could return 0 without output, which is unexpected. Return unknown as expected in that case.

Diff Detail

Event Timeline

itaraban accepted this revision.Jul 6 2020, 2:55 AM

LGTM

This revision is now accepted and ready to land.Jul 6 2020, 2:55 AM

Commited as 1cdde847bb01c4b1e490d8e902ac99096df75fd4, don't know why phabricator doesn't auto-close it.

and thanks @itaraban for the review, of course.