1 /* { dg-require-effective-target vect_int } */
5 void __attribute__((optimize (0)))
9 for (i
= 0; i
< (ARR_SIZE
- 2); ++i
)
10 a
[i
] = b
[0] + b
[1] + b
[i
+1] + b
[i
+2];
13 /* Disable pre-slp FRE to avoid unexpected SLP on the epilogue
15 void __attribute__((optimize("-fno-tree-fre")))
19 for (i
= 0; i
< (ARR_SIZE
- 2); ++i
)
23 for (i
= 0; i
< (ARR_SIZE
- 2); ++i
)
27 for (i
= 0; i
< (ARR_SIZE
- 2); ++i
)
31 for (i
= 0; i
< (ARR_SIZE
- 2); ++i
)
44 for (i
= 0; i
< ARR_SIZE
; i
++)
54 for (i
= 0; i
< ARR_SIZE
; i
++)
61 /* { dg-final { scan-tree-dump-not "vectorizing stmts using SLP" "slp1" } } */