[clang] 35e7b4f - [NFC] Fix argument types in doxygen comment
Warren Ristow via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 26 16:31:31 PDT 2022
Author: Warren Ristow
Date: 2022-04-26T16:30:55-07:00
New Revision: 35e7b4f82cfabc28ebc23558917440aece3f489f
URL: https://github.com/llvm/llvm-project/commit/35e7b4f82cfabc28ebc23558917440aece3f489f
DIFF: https://github.com/llvm/llvm-project/commit/35e7b4f82cfabc28ebc23558917440aece3f489f.diff
LOG: [NFC] Fix argument types in doxygen comment
The argument types for _mm_extract_epi16 and _mm_insert_epi16 were
incorrectly identified as '__m256i' instead of '__m128i'. Introduced
by df08b3493869540bad5d4b040dae814e078b411d, and fixed here.
Added:
Modified:
clang/lib/Headers/emmintrin.h
Removed:
################################################################################
diff --git a/clang/lib/Headers/emmintrin.h b/clang/lib/Headers/emmintrin.h
index c1e2915b6cb27..a3f56e832b32d 100644
--- a/clang/lib/Headers/emmintrin.h
+++ b/clang/lib/Headers/emmintrin.h
@@ -4127,7 +4127,7 @@ static __inline__ __m128i __DEFAULT_FN_ATTRS _mm_packus_epi16(__m128i __a,
/// \headerfile <x86intrin.h>
///
/// \code
-/// __m128i _mm_extract_epi16(__m256i a, const int imm);
+/// __m128i _mm_extract_epi16(__m128i a, const int imm);
/// \endcode
///
/// This intrinsic corresponds to the <c> VPEXTRW / PEXTRW </c> instruction.
@@ -4159,7 +4159,7 @@ static __inline__ __m128i __DEFAULT_FN_ATTRS _mm_packus_epi16(__m128i __a,
/// \headerfile <x86intrin.h>
///
/// \code
-/// __m128i _mm_insert_epi16(__m256i a, int b, const int imm);
+/// __m128i _mm_insert_epi16(__m128i a, int b, const int imm);
/// \endcode
///
/// This intrinsic corresponds to the <c> VPINSRW / PINSRW </c> instruction.
More information about the cfe-commits
mailing list