aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2018-07-31 14:21:32 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2018-07-31 14:21:32 +0000
commit79cc8302f73a56dd1e84e87a26d35ed7e5bfea53 (patch)
treeffc5cfc6e866b380448c60cfcef1d1439dd8a726 /gcc/tree-vectorizer.c
parent83a400d0a57c998508c31389286d6fb427985139 (diff)
downloadgcc-79cc8302f73a56dd1e84e87a26d35ed7e5bfea53.zip
gcc-79cc8302f73a56dd1e84e87a26d35ed7e5bfea53.tar.gz
gcc-79cc8302f73a56dd1e84e87a26d35ed7e5bfea53.tar.bz2
[05/46] Fix make_ssa_name call in vectorizable_reduction
The usual vectoriser dance to create new assignments is: new_stmt = gimple_build_assign (vec_dest, ...); new_temp = make_ssa_name (vec_dest, new_stmt); gimple_assign_set_lhs (new_stmt, new_temp); but one site in vectorizable_reduction used: new_temp = make_ssa_name (vec_dest, new_stmt); before creating new_stmt. This method of creating statements probably needs cleaning up, but that's for another day... 2018-07-31 Richard Sandiford <richard.sandiford@arm.com> gcc/ * tree-vect-loop.c (vectorizable_reduction): Fix an instance in which make_ssa_name was called with new_stmt before new_stmt had been created. From-SVN: r263120
Diffstat (limited to 'gcc/tree-vectorizer.c')
0 files changed, 0 insertions, 0 deletions