aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2023-08-14 09:31:18 +0200
committerRichard Biener <rguenther@suse.de>2023-08-15 11:07:25 +0200
commitbcdbedb3e6083ad01d844ed97cf19645c1ef6568 (patch)
tree64ead9d054f643f819784d23c8cc04a780e97ab7 /gcc/tree-vectorizer.h
parentecb95399f43873e1f34119ac260bbea2ef358e53 (diff)
downloadgcc-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