aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2018-07-31 14:21:11 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2018-07-31 14:21:11 +0000
commit0847049dc7a630e4bfa079767ed42c742ff6276b (patch)
treef0f5c51a06ed7cf34ab3931f6a4dbe03b657045a /gcc/tree-vectorizer.h
parent686dca7612a8ab5ebebad2fc13bd9ea7793a7e40 (diff)
downloadgcc-0847049dc7a630e4bfa079767ed42c742ff6276b.zip
gcc-0847049dc7a630e4bfa079767ed42c742ff6276b.tar.gz
gcc-0847049dc7a630e4bfa079767ed42c742ff6276b.tar.bz2
[01/46] Move special cases out of get_initial_def_for_reduction
This minor clean-up avoids repeating the test for double reductions and also moves the vect_get_vec_def_for_operand call to the same function as the corresponding vect_get_vec_def_for_stmt_copy. 2018-07-31 Richard Sandiford <richard.sandiford@arm.com> gcc/ * tree-vect-loop.c (get_initial_def_for_reduction): Move special cases for nested loops from here to ... (vect_create_epilog_for_reduction): ...here. Only call vect_is_simple_use for inner-loop reductions. From-SVN: r263116
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions