diff --git a/src/util/supervector/arch/ppc64el/impl.cpp b/src/util/supervector/arch/ppc64el/impl.cpp index cd776d5a..a1db21ee 100644 --- a/src/util/supervector/arch/ppc64el/impl.cpp +++ b/src/util/supervector/arch/ppc64el/impl.cpp @@ -273,9 +273,10 @@ really_inline SuperVector<16> SuperVector<16>::eq(SuperVector<16> const &b) cons return (*this == b); } +#if defined(__clang__) && (__clang_major__ == 15) #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wdeprecate-lax-vec-conv-all" - +#endif // defined(__clang__) && (__clang_major__ == 15) template <> really_inline typename SuperVector<16>::comparemask_type SuperVector<16>::comparemask(void) const { @@ -286,7 +287,9 @@ SuperVector<16>::comparemask(void) const { vec_ste(static_cast(bitmask), 0, &movemask); return movemask; } +#if defined(__clang__) && (__clang_major__ == 15) #pragma clang diagnostic pop +#endif // defined(__clang__) && (__clang_major__ == 15) template <> really_inline typename SuperVector<16>::comparemask_type