[compiler-rt] r192577 - [msan] Regression test for r192575.

Evgeniy Stepanov eugeni.stepanov at gmail.com
Mon Oct 14 02:53:39 PDT 2013


Author: eugenis
Date: Mon Oct 14 04:53:39 2013
New Revision: 192577

URL: http://llvm.org/viewvc/llvm-project?rev=192577&view=rev
Log:
[msan] Regression test for r192575.

Added:
    compiler-rt/trunk/lib/msan/lit_tests/vector_select.cc   (with props)

Added: compiler-rt/trunk/lib/msan/lit_tests/vector_select.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/msan/lit_tests/vector_select.cc?rev=192577&view=auto
==============================================================================
--- compiler-rt/trunk/lib/msan/lit_tests/vector_select.cc (added)
+++ compiler-rt/trunk/lib/msan/lit_tests/vector_select.cc Mon Oct 14 04:53:39 2013
@@ -0,0 +1,13 @@
+// RUN: %clangxx_msan -m64 -O0 %s -c -o %t
+// RUN: %clangxx_msan -m64 -O3 %s -c -o %t
+
+// Regression test for MemorySanitizer instrumentation of a select instruction
+// with vector arguments.
+
+#include <emmintrin.h>
+
+__m128d select(bool b, __m128d c, __m128d d)
+{
+  return b ? c : d;
+}
+

Propchange: compiler-rt/trunk/lib/msan/lit_tests/vector_select.cc
------------------------------------------------------------------------------
    svn:eol-style = LF





More information about the llvm-commits mailing list