The wmmintrin.h header includes two different sub-headers: one for AES support

and one for PCLMUL support.  The current immintrin.h header only includes
wmmintrin.h if AES support is enabled.  It should include it if either AES or
PCLMUL is enabled (GCC's version of immintrin.h does this).

Patch by John Baldwin!

llvm-svn: 202871
This commit is contained in:
Roman Divacky 2014-03-04 18:26:12 +00:00
parent 3a9ac93478
commit b8322b13f8
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@
#include <smmintrin.h>
#endif
#if defined (__AES__)
#if defined (__AES__) || defined (__PCLMUL__)
#include <wmmintrin.h>
#endif