1 /* { dg-do compile } */
2 /* { dg-options "-Ofast -fdump-tree-phiopt1" } */
3 /* { dg-final { scan-tree-dump-times " = ABS_EXPR <x_\[0-9]*\\\(D\\\)>;" 1 "phiopt1" } } */
5 typedef int v2si __attribute__ ((vector_size (2 * sizeof(int))));
6 typedef short v2hi __attribute__ ((vector_size (2 * sizeof(short))));
8 v2hi absvect1 (v2hi x, int i) {
10 return (x > 0) ? x : neg;