]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tree-ssa/vector-4.c
Fix profile update in tree_transform_and_unroll_loop
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / vector-4.c
1 /* { dg-do compile } */
2 /* { dg-options "-w -O1 -fdump-tree-gimple" } */
3
4 typedef int SItype __attribute__ ((mode (SI)));
5 typedef SItype v4si __attribute__ ((vector_size (16)));
6
7 v4si vs (v4si a, v4si b)
8 {
9 return __builtin_shuffle (a, b, (v4si) {0, 4, 1, 5});
10 }
11
12 /* The compound literal should be placed directly in the vec_perm. */
13 /* Test is xfailed on 32-bit hppa*-*-* because target-callee-copies. */
14 /* { dg-final { scan-tree-dump-times "VEC_PERM_EXPR <a, b, { 0, 4, 1, 5 }>;" 1 "gimple" { target { ! mmix-knuth-mmixware } xfail { hppa*-*-* && { ! lp64 } } } } } */
15 /* { dg-final { scan-tree-dump-times "VEC_PERM_EXPR <a::., b::., { 0, 4, 1, 5 }>;" 1 "gimple" { target mmix-knuth-mmixware } } } */
16