Skip to content

Commit 59d447d

Browse files
committed
I think that's all the format issues?
1 parent 84155ce commit 59d447d

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

clang/lib/AST/ExprConstant.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11723,7 +11723,6 @@ bool VectorExprEvaluator::VisitCallExpr(const CallExpr *E) {
1172311723
case clang::X86::BI__builtin_ia32_pavgb512:
1172411724
case clang::X86::BI__builtin_ia32_pavgw512:
1172511725
return EvaluateBinOpExpr(llvm::APIntOps::avgCeilU);
11726-
1172711726

1172811727
case clang::X86::BI__builtin_ia32_pmulhrsw128:
1172911728
case clang::X86::BI__builtin_ia32_pmulhrsw256:

clang/lib/Headers/avx512bwintrin.h

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,22 +1007,19 @@ _mm512_maskz_permutex2var_epi16(__mmask32 __U, __m512i __A, __m512i __I,
10071007
}
10081008

10091009
static __inline__ __m512i __DEFAULT_FN_ATTRS512_CONSTEXPR
1010-
_mm512_mulhrs_epi16(__m512i __A, __m512i __B)
1011-
{
1010+
_mm512_mulhrs_epi16(__m512i __A, __m512i __B) {
10121011
return (__m512i)__builtin_ia32_pmulhrsw512((__v32hi)__A, (__v32hi)__B);
10131012
}
10141013

10151014
static __inline__ __m512i __DEFAULT_FN_ATTRS512_CONSTEXPR
1016-
_mm512_mask_mulhrs_epi16(__m512i __W, __mmask32 __U, __m512i __A, __m512i __B)
1017-
{
1015+
_mm512_mask_mulhrs_epi16(__m512i __W, __mmask32 __U, __m512i __A, __m512i __B) {
10181016
return (__m512i)__builtin_ia32_selectw_512((__mmask32)__U,
10191017
(__v32hi)_mm512_mulhrs_epi16(__A, __B),
10201018
(__v32hi)__W);
10211019
}
10221020

10231021
static __inline__ __m512i __DEFAULT_FN_ATTRS512_CONSTEXPR
1024-
_mm512_maskz_mulhrs_epi16(__mmask32 __U, __m512i __A, __m512i __B)
1025-
{
1022+
_mm512_maskz_mulhrs_epi16(__mmask32 __U, __m512i __A, __m512i __B) {
10261023
return (__m512i)__builtin_ia32_selectw_512((__mmask32)__U,
10271024
(__v32hi)_mm512_mulhrs_epi16(__A, __B),
10281025
(__v32hi)_mm512_setzero_si512());

clang/lib/Headers/tmmintrin.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ _mm_maddubs_pi16(__m64 __a, __m64 __b)
560560
/// products of both operands.
561561
static __inline__ __m128i __DEFAULT_FN_ATTRS_CONSTEXPR
562562
_mm_mulhrs_epi16(__m128i __a, __m128i __b) {
563-
return (__m128i)__builtin_ia32_pmulhrsw128((__v8hi)__a, (__v8hi)__b);
563+
return (__m128i)__builtin_ia32_pmulhrsw128((__v8hi)__a, (__v8hi)__b);
564564
}
565565

566566
/// Multiplies packed 16-bit signed integer values, truncates the 32-bit
@@ -579,8 +579,8 @@ _mm_mulhrs_epi16(__m128i __a, __m128i __b) {
579579
/// products of both operands.
580580
static __inline__ __m64 __DEFAULT_FN_ATTRS_CONSTEXPR
581581
_mm_mulhrs_pi16(__m64 __a, __m64 __b) {
582-
return __trunc64(__builtin_ia32_pmulhrsw128((__v8hi)__zext128(__a),
583-
(__v8hi)__zext128(__b)));
582+
return __trunc64(__builtin_ia32_pmulhrsw128((__v8hi)__zext128(__a),
583+
(__v8hi)__zext128(__b)));
584584
}
585585

586586
/// Copies the 8-bit integers from a 128-bit integer vector to the

0 commit comments

Comments
 (0)