[Bug middle-end/99394] s254 benchmark of TSVC is vectorized by clang and not by gcc

2021-03-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99394 --- Comment #2 from Richard Biener --- This is a loop-carried data dependence which we can't handle (we avoid creating those from PRE but here it appears in the source itself). I wonder how LLVM handles this (pre/post vectorization IL). Specifi

[Bug middle-end/99394] s254 benchmark of TSVC is vectorized by clang and not by gcc

2021-03-04 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99394 --- Comment #1 from Jan Hubicka --- Here we fail with: tsvc.c:1526:27: note: vect_is_simple_use: operand x_30 = PHI <_2(8), x_18(3)>, type of def: unknown tsvc.c:1526:27: missed: Unsupported pattern. tsvc.c:1527:26: missed: not vectorized: