repo.or.cz
/
blocksruntime.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[asan] Revert r201402, r201404.
[blocksruntime.git]
/
lib
/
msan
/
lit_tests
/
vector_select.cc
blob
e8d55423293c4807b7a5eb12357aa4f51a67a2b7
1
// RUN: %clangxx_msan -m64 -O0 %s -c -o %t
2
// RUN: %clangxx_msan -m64 -O3 %s -c -o %t
3
4
// Regression test for MemorySanitizer instrumentation of a select instruction
5
// with vector arguments.
6
7
#include <emmintrin.h>
8
9
__m128d
select
(
bool
b
,
__m128d c
,
__m128d d
)
10
{
11
return
b
?
c
:
d
;
12
}
13