[compiler-rt] r212082 - Add the way to disable MSan unit tests for _mm_* intrinsics

Alexey Samsonov vonosmas at gmail.com
Mon Jun 30 18:38:53 PDT 2014


Author: samsonov
Date: Mon Jun 30 20:38:52 2014
New Revision: 212082

URL: http://llvm.org/viewvc/llvm-project?rev=212082&view=rev
Log:
Add the way to disable MSan unit tests for _mm_* intrinsics

Modified:
    compiler-rt/trunk/lib/msan/tests/msan_test.cc

Modified: compiler-rt/trunk/lib/msan/tests/msan_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/msan/tests/msan_test.cc?rev=212082&r1=212081&r2=212082&view=diff
==============================================================================
--- compiler-rt/trunk/lib/msan/tests/msan_test.cc (original)
+++ compiler-rt/trunk/lib/msan/tests/msan_test.cc Mon Jun 30 20:38:52 2014
@@ -3556,6 +3556,7 @@ TEST(MemorySanitizer, UnalignedStore64_p
   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;





More information about the llvm-commits mailing list