[PATCH] D56686: [X86] Make _xgetbv/_xsetbv on non-windows platforms

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 14 17:05:14 PST 2019


craig.topper updated this revision to Diff 181672.
craig.topper added a comment.

Remove guard from include of xsaveintrin.h. We can't have any check because we need it to always include on non-windows platforms due to target attribute.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56686/new/

https://reviews.llvm.org/D56686

Files:
  include/clang/Basic/BuiltinsX86.def
  lib/CodeGen/CGBuiltin.cpp
  lib/Headers/immintrin.h
  lib/Headers/intrin.h
  lib/Headers/xsaveintrin.h
  test/CodeGen/builtins-x86.c
  test/CodeGen/x86_32-xsave.c
  test/CodeGen/x86_64-xsave.c
  test/Headers/ms-intrin.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56686.181672.patch
Type: text/x-patch
Size: 15134 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190115/7405c562/attachment-0001.bin>


More information about the cfe-commits mailing list