summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema
diff options
context:
space:
mode:
authorFilipe Cabecinhas <me@filcab.net>2015-02-07 01:37:09 +0000
committerFilipe Cabecinhas <me@filcab.net>2015-02-07 01:37:09 +0000
commit2177fc17320902313e3ec43c64fe51d51c6b1f97 (patch)
tree287fbc769726dee66c0e5eeb723fc6974b32845b /clang/test/Sema
parentb8d41c5d33cfdc9a8be8b16ba1d2c5fdc7c478f7 (diff)
downloadbcm5719-llvm-2177fc17320902313e3ec43c64fe51d51c6b1f97.tar.gz
bcm5719-llvm-2177fc17320902313e3ec43c64fe51d51c6b1f97.zip
Make the byte-shift SSE intrinsics emit vector shuffles which we know the backend can handle.
Also removed unused builtins. Original patch by Andrea Di Biagio! Reviewers: craig.topper, nadav Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D7199 llvm-svn: 228481
Diffstat (limited to 'clang/test/Sema')
-rw-r--r--clang/test/Sema/x86-builtin-palignr.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/clang/test/Sema/x86-builtin-palignr.c b/clang/test/Sema/x86-builtin-palignr.c
index 6f4b90dafa1..f7e70b9c3c4 100644
--- a/clang/test/Sema/x86-builtin-palignr.c
+++ b/clang/test/Sema/x86-builtin-palignr.c
@@ -8,10 +8,3 @@ __m64 test1(__m64 a, __m64 b, int c) {
// be removed when that is fixed.
return _mm_alignr_pi8(a, b, c); // expected-error {{argument to '__builtin_ia32_palignr' must be a constant integer}} expected-error {{incompatible result type}}
}
-
-int test2(int N) {
- __m128i white2;
- white2 = __builtin_ia32_pslldqi128(white2, N); // expected-error {{argument to '__builtin_ia32_pslldqi128' must be a constant integer}}
- return 0;
-}
-
OpenPOWER on IntegriCloud