diff options
author | Richard Biener <rguenth@gcc.gnu.org> | 2017-12-04 15:08:56 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2017-12-04 15:08:56 +0000 |
commit | be6a1ba2815b5273decfe850c1a95382737b5b00 (patch) | |
tree | 9be43409c197ed0b5609781d369751c311cf7d0a /gcc/objc/objc-encoding.c | |
parent | 405a28c95dab82fa68436cffa12fb65e476e216c (diff) | |
download | gcc-be6a1ba2815b5273decfe850c1a95382737b5b00.zip gcc-be6a1ba2815b5273decfe850c1a95382737b5b00.tar.gz gcc-be6a1ba2815b5273decfe850c1a95382737b5b00.tar.bz2 |
tree-vectorizer.h (check_reduction_path): Declare.
2017-12-04 Richard Biener <rguenther@suse.de>
* tree-vectorizer.h (check_reduction_path): Declare.
* tree-vect-loop.c (check_reduction_path): New function, split out
from ...
(vect_is_simple_reduction): ... here.
* gimple-loop-interchange.cc: Include tree-vectorizer.h.
(loop_cand::analyze_iloop_reduction_var): Use single_imm_use.
Properly check for a supported reduction operation and a
valid expression if the reduction covers multiple stmts.
(prepare_perfect_loop_nest): Simpify allocation.
(pass_linterchange::execute): Likewise.
* gcc.dg/tree-ssa/loop-interchange-1.c: Add fast-math flags.
* gcc.dg/tree-ssa/loop-interchange-1b.c: New test variant.
* gcc.dg/tree-ssa/loop-interchange-4.c: XFAIL.
From-SVN: r255383
Diffstat (limited to 'gcc/objc/objc-encoding.c')
0 files changed, 0 insertions, 0 deletions