Skip to content

Commit cc186f4

Browse files
committed
Disable diagnostic in test
1 parent f390170 commit cc186f4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

compiler-rt/lib/msan/tests/msan_test.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4132,6 +4132,9 @@ typedef U4 V2x32 __attribute__((__vector_size__(8)));
41324132
typedef U2 V4x16 __attribute__((__vector_size__(8)));
41334133
typedef U1 V8x8 __attribute__((__vector_size__(8)));
41344134

4135+
#pragma clang diagnostic push
4136+
#pragma clang diagnostic ignored "-Wdeprecate-lax-vec-conv-all"
4137+
41354138
V8x16 shift_sse2_left_scalar(V8x16 x, U4 y) {
41364139
return _mm_slli_epi16(x, y);
41374140
}
@@ -4346,6 +4349,8 @@ TEST(VectorCmpTest, builtin_ia32_ucomisdlt) {
43464349
EXPECT_NOT_POISONED(c);
43474350
}
43484351

4352+
#pragma clang diagnostic push
4353+
43494354
#endif // defined(__x86_64__) && defined(__clang__)
43504355

43514356
TEST(MemorySanitizerOrigins, SetGet) {

0 commit comments

Comments
 (0)