diff options
author | Richard Biener <rguenther@suse.de> | 2023-08-14 09:31:18 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2023-08-15 11:07:25 +0200 |
commit | bcdbedb3e6083ad01d844ed97cf19645c1ef6568 (patch) | |
tree | 64ead9d054f643f819784d23c8cc04a780e97ab7 /gcc/tree-vectorizer.h | |
parent | ecb95399f43873e1f34119ac260bbea2ef358e53 (diff) | |
download | gcc-bcdbedb3e6083ad01d844ed97cf19645c1ef6568.zip gcc-bcdbedb3e6083ad01d844ed97cf19645c1ef6568.tar.gz gcc-bcdbedb3e6083ad01d844ed97cf19645c1ef6568.tar.bz2 |
tree-optimization/110991 - unroll size estimate after vectorization
The following testcase shows that we are bad at identifying inductions
that will be optimized away after vectorizing them because SCEV doesn't
handle vectorized defs. The following rolls a simpler identification
of SSA cycles covering a PHI and an assignment with a binary operator
with a constant second operand.
PR tree-optimization/110991
* tree-ssa-loop-ivcanon.cc (constant_after_peeling): Handle
VIEW_CONVERT_EXPR <op>, handle more simple IV-like SSA cycles
that will end up constant.
* gcc.dg/tree-ssa/cunroll-16.c: New testcase.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions