From da88abfa3970d5cbb53c98a8d38369694da067fb Mon Sep 17 00:00:00 2001 From: Konstantinos Margaritis Date: Wed, 4 Oct 2023 20:54:57 +0300 Subject: [PATCH] missed one pragma --- src/util/supervector/arch/ppc64el/impl.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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