[Bug tree-optimization/106989] GCC fail to vectorize and clang succeed

2022-09-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106989 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug tree-optimization/106989] GCC fail to vectorize and clang succeed

2022-09-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106989 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug tree-optimization/106989] GCC fail to vectorize and clang succeed

2022-09-20 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106989 --- Comment #4 from JuzheZhong --- (In reply to Andrew Pinski from comment #3) > The DSE happens but only at the RTL level Is it a good idea to do data-ref in DSE and remove the first redundant store?

[Bug tree-optimization/106989] GCC fail to vectorize and clang succeed

2022-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106989 --- Comment #3 from Andrew Pinski --- The DSE happens but only at the RTL level

[Bug tree-optimization/106989] GCC fail to vectorize and clang succeed

2022-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106989 --- Comment #2 from Andrew Pinski --- /app/example.cpp:20:25: note: Detected interleaving store a[i_27] and a[i_27] /app/example.cpp:20:25: note: Queuing group with duplicate access for fixup /app/example.cpp:20:25: note: zero step in oute

[Bug tree-optimization/106989] GCC fail to vectorize and clang succeed

2022-09-20 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106989 --- Comment #1 from Hongtao.liu --- > real_t* __restrict__ xx; > real_t* yy; > real_t s243(void) > { > for (int nl = 0; nl < iterations; nl++) { > for (int i = 0; i < LEN_1D-1; i++) { > a[i] = b[i] + c[i ] * d[i]; >

[Bug tree-optimization/106989] GCC fail to vectorize and clang succeed

2022-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106989 Andrew Pinski changed: What|Removed |Added Blocks||53947 Keywords|