summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/XRayLists.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2019-11-21 09:03:16 +0000
committerFlorian Hahn <flo@fhahn.com>2019-11-21 09:18:00 +0000
commit82921bf2baed96b700f90b090d5dc2530223d9c0 (patch)
tree1b761a8c4c908ed2312bd82a6f2c2abf6fcd142f /clang/lib/Basic/XRayLists.cpp
parentdf876a026981b7a125b31bbb85ba4b1144edb0f9 (diff)
downloadbcm5719-llvm-82921bf2baed96b700f90b090d5dc2530223d9c0.tar.gz
bcm5719-llvm-82921bf2baed96b700f90b090d5dc2530223d9c0.zip
[Support] Don't check XCR0 when detecting avx512 on Darwin.
Darwin lazily saves the AVX512 context on first use [1]: 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. [1] https://github.com/apple/darwin-xnu/blob/xnu-4903.221.2/osfmk/i386/fpu.c#L174 Reviewers: ab, RKSimon, craig.topper Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D70453
Diffstat (limited to 'clang/lib/Basic/XRayLists.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud