rnk added a comment.

The source isn't that interesting, it includes intrin.h and immintrin.h before 
using _xgetbv.

I think the issue is that Nico added the _MSC_VER check to intrin.h in 
http://reviews.llvm.org/D20291:

#if !defined(_MSC_VER) || __has_feature(modules) || defined(__XSAVE__)
#include <xsaveintrin.h>
#endif

Nico is on vacation right now, but we might want to reconsider that. We really 
only need to block the AVX512 intrinsics which are unreasonably large.


Repository:
  rL LLVM

https://reviews.llvm.org/D21959



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to