[cfe-commits] r113234 - /cfe/trunk/test/CodeGen/palignr.c
Dale Johannesen
dalej at apple.com
Tue Sep 7 11:11:53 PDT 2010
Author: johannes
Date: Tue Sep 7 13:11:53 2010
New Revision: 113234
URL: http://llvm.org/viewvc/llvm-project?rev=113234&view=rev
Log:
Adjust a test that's expecting optimizations to be done
on MMX palignr; we don't do this for the intrinsics.
Modified:
cfe/trunk/test/CodeGen/palignr.c
Modified: cfe/trunk/test/CodeGen/palignr.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/palignr.c?rev=113234&r1=113233&r2=113234&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/palignr.c (original)
+++ cfe/trunk/test/CodeGen/palignr.c Tue Sep 7 13:11:53 2010
@@ -17,13 +17,13 @@
#define _mm_alignr_pi8(a, b, n) (__builtin_ia32_palignr((a), (b), (n)))
typedef __attribute__((vector_size(8))) int int2;
-// CHECK-NOT: palignr
+// CHECK: palignr
int2 align5(int2 a, int2 b) { return _mm_alignr_pi8(a, b, 8); }
-// CHECK: psrlq
+// CHECK: palignr
int2 align6(int2 a, int2 b) { return _mm_alignr_pi8(a, b, 9); }
-// CHECK: xor
+// CHECK: palignr
int2 align7(int2 a, int2 b) { return _mm_alignr_pi8(a, b, 16); }
// CHECK: palignr
More information about the cfe-commits
mailing list