[msan] Regression test for r192575.

llvm-svn: 192577
This commit is contained in:
Evgeniy Stepanov 2013-10-14 09:53:39 +00:00
parent 4314e319ab
commit 054d533d8d
1 changed files with 13 additions and 0 deletions

View File

@ -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;
}