[Bug tree-optimization/98137] Could use SLP to vectorize if split_constant_offset were smarter
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 7 07:15:30 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98137
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:7b4ea2827d2003c8ffc76cd478f8974360cbd78f
commit r11-5809-g7b4ea2827d2003c8ffc76cd478f8974360cbd78f
Author: Richard Biener <rguenther@suse.de>
Date: Fri Dec 4 11:13:48 2020 +0100
tree-optimization/98137 - enhance split_constant_offset range handling
split_constant_offset currently gives up looking at ranges when
dealing with possibly wrapping operations for looking through
conversions when the downstream analysis does not yield a SSA name.
That's overly conservative and we have a nice helper that can
deal with arbitrary expresssions. Use that. This helps data
reference group analysis so the testcase is fully SLP vectorized,
making use of the whole-function "BB" vectorization capabilities
we now have.
2020-12-04 Richard Biener <rguenther@suse.de>
PR tree-optimization/98137
* tree-data-ref.c (split_constant_offset_1): Use
determine_value_range instead of get_range_info to handle
arbitrary expressions.
* gcc.dg/vect/bb-slp-pr98137.c: New testcase.
More information about the Gcc-bugs
mailing list