summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/XRayLists.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2019-11-21 09:18:58 +0000
committerFlorian Hahn <flo@fhahn.com>2019-11-21 09:19:17 +0000
commita70c3f9f45c8db3092db44110a992e9fd8ee776e (patch)
tree433420f2fea6aa9c9175dd8e72af32f5f0cc672b /clang/lib/Basic/XRayLists.cpp
parent82921bf2baed96b700f90b090d5dc2530223d9c0 (diff)
downloadbcm5719-llvm-a70c3f9f45c8db3092db44110a992e9fd8ee776e.tar.gz
bcm5719-llvm-a70c3f9f45c8db3092db44110a992e9fd8ee776e.zip
[compiler-rt] 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 Subscribers: dberris, JDevlieghere, #sanitizers, llvm-commits Tags: #sanitizers, #llvm Differential Revision: https://reviews.llvm.org/D70454
Diffstat (limited to 'clang/lib/Basic/XRayLists.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud