diff options
author | Richard Biener <rguenther@suse.de> | 2020-12-04 11:13:48 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2020-12-07 08:15:15 +0100 |
commit | 7b4ea2827d2003c8ffc76cd478f8974360cbd78f (patch) | |
tree | 31ea9a8ce51a8fef5e4214c627c118778a5a1546 /gcc/go/go-lang.c | |
parent | 0e49145550fe1284dc56e8e02ba1720c4f737a74 (diff) | |
download | gcc-7b4ea2827d2003c8ffc76cd478f8974360cbd78f.zip gcc-7b4ea2827d2003c8ffc76cd478f8974360cbd78f.tar.gz gcc-7b4ea2827d2003c8ffc76cd478f8974360cbd78f.tar.bz2 |
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.
Diffstat (limited to 'gcc/go/go-lang.c')
0 files changed, 0 insertions, 0 deletions