forked from OSchip/llvm-project
New test to verify that we see constant integers here.
llvm-svn: 101611
This commit is contained in:
parent
8d0c621ca6
commit
0dd32fe068
|
@ -0,0 +1,8 @@
|
|||
// RUN: %clang_cc1 -fsyntax-only -triple=i686-apple-darwin9 -target-feature +ssse3 -verify %s
|
||||
|
||||
#include <tmmintrin.h>
|
||||
|
||||
__m64 foo(__m64 a, __m64 b, int c)
|
||||
{
|
||||
return _mm_alignr_pi8(a, b, c); // expected-error {{argument 2 to '__builtin_ia32_palignr' must be a constant integer}}
|
||||
}
|
Loading…
Reference in New Issue