aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/constexpr.cc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2022-03-25 14:31:25 +0100
committerRichard Biener <rguenther@suse.de>2022-03-25 15:26:29 +0100
commitfe705dce2e1e3e4e5e0c69d7f9adaf7f2777cdc8 (patch)
treeab50e8c9b7f804a24763220dd91f3e68dfc899de /gcc/cp/constexpr.cc
parentd0b938a7612fb7acf1f181da9577235c83ede59e (diff)
downloadgcc-fe705dce2e1e3e4e5e0c69d7f9adaf7f2777cdc8.zip
gcc-fe705dce2e1e3e4e5e0c69d7f9adaf7f2777cdc8.tar.gz
gcc-fe705dce2e1e3e4e5e0c69d7f9adaf7f2777cdc8.tar.bz2
tree-optimization/105053 - fix reduction chain epilogue generation
When we optimize permutations in a reduction chain we have to be careful to select the correct live-out stmt, otherwise the reduction result will be unused and the retained scalar code will execute only the number of vector iterations. 2022-03-25 Richard Biener <rguenther@suse.de> PR tree-optimization/105053 * tree-vect-loop.cc (vect_create_epilog_for_reduction): Pick the correct live-out stmt for a reduction chain. * g++.dg/vect/pr105053.cc: New testcase.
Diffstat (limited to 'gcc/cp/constexpr.cc')
0 files changed, 0 insertions, 0 deletions