diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2014-07-01 01:38:52 +0000 |
---|---|---|
committer | Alexey Samsonov <vonosmas@gmail.com> | 2014-07-01 01:38:52 +0000 |
commit | 255b8163f56950d936207a38b0a8b50a72504dc1 (patch) | |
tree | f1b187821c63c35f6f187545e4b88e6a6a27346e /lib/msan/tests | |
parent | 1169ff047a6504802d883947dd99182867b1d5e4 (diff) |
Add the way to disable MSan unit tests for _mm_* intrinsics
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@212082 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/msan/tests')
-rw-r--r-- | lib/msan/tests/msan_test.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/msan/tests/msan_test.cc b/lib/msan/tests/msan_test.cc index 53934ff13..d5e5c21ed 100644 --- a/lib/msan/tests/msan_test.cc +++ b/lib/msan/tests/msan_test.cc @@ -3556,6 +3556,7 @@ TEST(MemorySanitizer, UnalignedStore64_precise2) { EXPECT_POISONED_O(x[11], originx3); } +#ifndef MSAN_TEST_DISABLE_VECTOR_INTRINSICS namespace { typedef U1 V16x8 __attribute__((__vector_size__(16))); typedef U2 V8x16 __attribute__((__vector_size__(16))); @@ -3716,6 +3717,7 @@ TEST(VectorMaddTest, mmx_pmadd_wd) { EXPECT_EQ((unsigned)(2 * 102 + 3 * 103), c[1]); } +#endif // MSAN_TEST_DISABLE_VECTOR_INTRINSICS TEST(MemorySanitizerDr, StoreInDSOTest) { if (!__msan_has_dynamic_component()) return; |