diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2021-11-30 09:52:27 +0000 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2021-11-30 09:52:27 +0000 |
commit | 9b577047eec65936a5299cac13dd7b73cdfc4ae4 (patch) | |
tree | 90141b80bfacae40df1049460e140ec7746da304 /gcc/tree-if-conv.c | |
parent | 0fb2ab504067ad0d2179622861dd71140b736afe (diff) | |
download | gcc-9b577047eec65936a5299cac13dd7b73cdfc4ae4.zip gcc-9b577047eec65936a5299cac13dd7b73cdfc4ae4.tar.gz gcc-9b577047eec65936a5299cac13dd7b73cdfc4ae4.tar.bz2 |
vect: Fix vect_is_reduction
The current definition of vect_is_reduction (provided for target
costing) misses some pattern statements.
gcc/
* tree-vectorizer.h (vect_is_reduction): Use STMT_VINFO_REDUC_IDX.
gcc/testsuite/
* gcc.target/aarch64/sve/cost_model_13.c: New test.
Diffstat (limited to 'gcc/tree-if-conv.c')
0 files changed, 0 insertions, 0 deletions