- Fixes <rdar://problem/
10261246> clang -maes option is not sufficient to
include <wmmintrin.h>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145939
91177308-0d34-0410-b5e6-
96231b3b80d8
# error "AES instructions not enabled"
#else
-#include <smmintrin.h>
+#include <xmmintrin.h>
static __inline__ __m128i __attribute__((__always_inline__, __nodebug__))
_mm_aesenc_si128(__m128i __V, __m128i __R)
--- /dev/null
+// Check that wmmintrin.h is includable with just -maes.
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown \
+// RUN: -verify %s -ffreestanding -target-feature +aes
+#include <wmmintrin.h>