[clang] 5437056 - [Headers][doc] Fix typo in avx2intrin.h doc

Paul Robinson via cfe-commits cfe-commits at lists.llvm.org
Wed May 31 06:43:47 PDT 2023


Author: Paul Robinson
Date: 2023-05-31T06:43:38-07:00
New Revision: 543705641adb1d3533be141947264ca1b7b04479

URL: https://github.com/llvm/llvm-project/commit/543705641adb1d3533be141947264ca1b7b04479
DIFF: https://github.com/llvm/llvm-project/commit/543705641adb1d3533be141947264ca1b7b04479.diff

LOG: [Headers][doc] Fix typo in avx2intrin.h doc

Added: 
    

Modified: 
    clang/lib/Headers/avx2intrin.h

Removed: 
    


################################################################################
diff  --git a/clang/lib/Headers/avx2intrin.h b/clang/lib/Headers/avx2intrin.h
index 409401f46ba9..5346a0209928 100644
--- a/clang/lib/Headers/avx2intrin.h
+++ b/clang/lib/Headers/avx2intrin.h
@@ -1088,7 +1088,7 @@ _mm256_sad_epu8(__m256i __a, __m256i __b)
   return __builtin_ia32_psadbw256((__v32qi)__a, (__v32qi)__b);
 }
 
-/// Shuffles 8-bit integers in the 256-bit integer vector \a __a acccording
+/// Shuffles 8-bit integers in the 256-bit integer vector \a __a according
 ///    to control information in the 256-bit integer vector \a __b, and
 ///    returns the 256-bit result. In effect there are two separate 128-bit
 ///    shuffles in the lower and upper halves.
@@ -1128,7 +1128,7 @@ _mm256_shuffle_epi8(__m256i __a, __m256i __b)
 }
 
 /// Shuffles 32-bit integers from the 256-bit vector of [8 x i32] in \a a
-///    acccording to control information in the integer literal \a imm, and
+///    according to control information in the integer literal \a imm, and
 ///    returns the 256-bit result. In effect there are two parallel 128-bit
 ///    shuffles in the lower and upper halves.
 ///
@@ -1161,7 +1161,7 @@ _mm256_shuffle_epi8(__m256i __a, __m256i __b)
   ((__m256i)__builtin_ia32_pshufd256((__v8si)(__m256i)(a), (int)(imm)))
 
 /// Shuffles 16-bit integers from the 256-bit vector of [16 x i16] in \a a
-///    acccording to control information in the integer literal \a imm, and
+///    according to control information in the integer literal \a imm, and
 ///    returns the 256-bit result. The upper 64 bits of each 128-bit half
 ///    are shuffled in parallel; the lower 64 bits of each 128-bit half are
 ///    copied from \a a unchanged.
@@ -1197,7 +1197,7 @@ _mm256_shuffle_epi8(__m256i __a, __m256i __b)
   ((__m256i)__builtin_ia32_pshufhw256((__v16hi)(__m256i)(a), (int)(imm)))
 
 /// Shuffles 16-bit integers from the 256-bit vector of [16 x i16] \a a
-///    acccording to control information in the integer literal \a imm, and
+///    according to control information in the integer literal \a imm, and
 ///    returns the 256-bit [16 x i16] result. The lower 64 bits of each
 ///    128-bit half are shuffled; the upper 64 bits of each 128-bit half are
 ///    copied from \a a unchanged.


        


More information about the cfe-commits mailing list