diff options
author | Richard Biener <rguenther@suse.de> | 2018-01-26 10:30:36 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2018-01-26 10:30:36 +0000 |
commit | 5b55e6e333c97aaefc1db6c9d8411de578d05614 (patch) | |
tree | 21db3fe6e8247b8085351073439c65bef3bda73c /gcc/substring-locations.c | |
parent | af2e3244f56152d94a18c1339a18a4c0b0e33060 (diff) | |
download | gcc-5b55e6e333c97aaefc1db6c9d8411de578d05614.zip gcc-5b55e6e333c97aaefc1db6c9d8411de578d05614.tar.gz gcc-5b55e6e333c97aaefc1db6c9d8411de578d05614.tar.bz2 |
re PR tree-optimization/81082 (Failure to vectorise after reassociating index computation)
2018-01-26 Richard Biener <rguenther@suse.de>
PR tree-optimization/81082
* fold-const.c (fold_plusminus_mult_expr): Do not perform the
association if it requires casting to unsigned.
* match.pd ((A * C) +- (B * C) -> (A+-B)): New patterns derived
from fold_plusminus_mult_expr to catch important cases late when
range info is available.
* gcc.dg/vect/pr81082.c: New testcase.
* gcc.dg/tree-ssa/loop-15.c: XFAIL the (int)((unsigned)n + -1U) * n + n
simplification to n * n.
From-SVN: r257077
Diffstat (limited to 'gcc/substring-locations.c')
0 files changed, 0 insertions, 0 deletions