[clang] [X86] Align 128/256 variants to use void * as 512 variants. (PR #66310)

Phoebe Wang via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 14 01:24:05 PDT 2023


================
@@ -645,7 +645,7 @@ static __inline__ __m128i __DEFAULT_FN_ATTRS _mm_mul_epi32(__m128i __V1,
 /// \returns A 128-bit integer vector containing the data stored at the
 ///    specified memory location.
 static __inline__ __m128i __DEFAULT_FN_ATTRS
-_mm_stream_load_si128(__m128i const *__V) {
+_mm_stream_load_si128(void const *__V) {
----------------
phoebewang wrote:

Move `const` first?

https://github.com/llvm/llvm-project/pull/66310


More information about the cfe-commits mailing list