add type casts to _mm_shuffle_ps so the front-end applies
implicit conversions where needed. This fixes an error reported
on cfe-dev, not really worth a testcase though.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103864 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Headers/xmmintrin.h b/lib/Headers/xmmintrin.h
index 4e313b2..3e82e28 100644
--- a/lib/Headers/xmmintrin.h
+++ b/lib/Headers/xmmintrin.h
@@ -723,7 +723,8 @@
}
#define _mm_shuffle_ps(a, b, mask) \
- (__builtin_shufflevector(a, b, (mask) & 0x3, ((mask) & 0xc) >> 2, \
+ (__builtin_shufflevector((__v4sf)a, (__v4sf)b, \
+ (mask) & 0x3, ((mask) & 0xc) >> 2, \
(((mask) & 0x30) >> 4) + 4, \
(((mask) & 0xc0) >> 6) + 4))