[X86] Update CPU detection to only enable XSAVE features if the OS has enabled them...
authorCraig Topper <craig.topper@gmail.com>
Wed, 14 Oct 2015 05:37:42 +0000 (05:37 +0000)
committerCraig Topper <craig.topper@gmail.com>
Wed, 14 Oct 2015 05:37:42 +0000 (05:37 +0000)
commit01e582a1d119bc448ef5ccb9b090fab7a698f752
tree076df1be817c5e24fc72f444495c09e9aa10a32a
parent32e9bbaf96e02beea4be6177d3ea800f06a150bd
[X86] Update CPU detection to only enable XSAVE features if the OS has enabled them and the saving of YMM state. This seems to be consistent with gcc behavior.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250269 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/Host.cpp