Following gcc, hide the hack to include the SSE2 intrinsics from
xmmintrin.h in an ifdef.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73200 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Headers/xmmintrin.h b/lib/Headers/xmmintrin.h
index 4938399..5d2bcbb 100644
--- a/lib/Headers/xmmintrin.h
+++ b/lib/Headers/xmmintrin.h
@@ -898,7 +898,10 @@
(row3) = _mm_movelh_ps(tmp3, tmp1); \
} while (0)
+/* Ugly hack for backwards-compatibility (compatible with gcc) */
+#ifdef __SSE2__
#include <emmintrin.h>
+#endif
#endif /* __SSE__ */