Eric Christopher | 26d2427 | 2010-04-17 02:36:08 +0000 | [diff] [blame^] | 1 | // RUN: %clang_cc1 -fsyntax-only -triple=i686-apple-darwin9 -target-feature +ssse3 -verify %s |
2 | |||||
3 | #include <tmmintrin.h> | ||||
4 | |||||
5 | __m64 foo(__m64 a, __m64 b, int c) | ||||
6 | { | ||||
7 | return _mm_alignr_pi8(a, b, c); // expected-error {{argument 2 to '__builtin_ia32_palignr' must be a constant integer}} | ||||
8 | } |