https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125520

--- Comment #4 from Hunter X <bug_hunters at yeah dot net> ---
I re-tested this with both -fno-trapping-math and -fvect-cost-model=unlimited,
but GCC still does not vectorize the loop.

The diagnostics remain:

<source>:17:23: missed: couldn't vectorize loop
<source>:17:23: missed: not vectorized: unsupported control flow in loop.
<source>:18:27: missed: couldn't vectorize loop
<source>:18:27: missed: not vectorized: unsupported control flow in loop.
<source>:12:7: note: vectorized 0 loops in function.
<source>:19:17: note: ***** Analysis failed with vector mode VNx4SI
...
<source>:19:17: note: ***** Analysis failed with vector mode VNx2SI

So this does not seem to be resolved solely by disabling trapping-math
assumptions or by disabling the cost model.

Could this indicate that there is an additional legality/SLP limitation beyond
the missing conditional FP conversion optabs issue?

Reply via email to