This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt] Don't require the XCR0 OSXSAVE bits when detecting skylake-avx512.
ClosedPublic

Authored by fhahn on Nov 19 2019, 11:43 AM.

Details

Summary

Darwin lazily saves the AVX512 context on first use: instead of checking
that it already does to figure out if the OS supports AVX512, trust that
the kernel will do the right thing and always assume the context save
support is available.

Diff Detail

Event Timeline

fhahn created this revision.Nov 19 2019, 11:43 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptNov 19 2019, 11:43 AM
Herald added subscribers: Restricted Project, JDevlieghere, dberris. · View Herald Transcript
This revision is now accepted and ready to land.Nov 19 2019, 11:27 PM
This revision was automatically updated to reflect the committed changes.