diff options
author | Richard Biener <rguenther@suse.de> | 2022-01-21 13:29:06 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2022-01-21 14:23:07 +0100 |
commit | 199cd0e0f8744ca1e61a95987b2d020a592a46d9 (patch) | |
tree | b06960797e39b8d674a77c2e6dc6fe616cd14d26 /libstdc++-v3/include/std/filesystem | |
parent | 7d47aae7cd4bb4dbf1e59a52c2a3f127151c8fab (diff) | |
download | gcc-199cd0e0f8744ca1e61a95987b2d020a592a46d9.zip gcc-199cd0e0f8744ca1e61a95987b2d020a592a46d9.tar.gz gcc-199cd0e0f8744ca1e61a95987b2d020a592a46d9.tar.bz2 |
tree-optimization/100089 - BB vectorization of if-converted loop bodies
The PR complains that when we only partially BB vectorize an
if-converted loop body that this can leave unvectorized code
unconditionally executed and thus effectively slow down code.
For -O2 we already mitigated the issue by not doing BB vectorization
when not all if-converted stmts were covered but the issue is
present with -O3 as well. Thus the following simply extends the
fix to cover all but the unlimited cost models. It is after all
very likely that we vectorize some stmts, if only a single
paired store.
2022-01-21 Richard Biener <rguenther@suse.de>
PR tree-optimization/100089
* tree-vect-slp.cc (vect_slp_region): Reject BB vectorization
of if-converted loops with unvectorized COND_EXPRs for
all but the unlimited cost models.
Diffstat (limited to 'libstdc++-v3/include/std/filesystem')
0 files changed, 0 insertions, 0 deletions