diff options
author | Richard Biener <rguenther@suse.de> | 2019-05-02 14:08:08 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2019-05-02 14:08:08 +0000 |
commit | 8964432ad6f17cef74aa97c367d2975ba9458f92 (patch) | |
tree | 172994fc163031c61f48b2a00664c4de0866fd0c /gcc/passes.def | |
parent | 420ee75d7dbdba35878d7feabea7d30d77b82943 (diff) |
re PR tree-optimization/89653 (Missing vectorization of loop containing std::min/std::max and temporary)
2019-05-02 Richard Biener <rguenther@suse.de>
PR tree-optimization/89653
* tree-ssa-loop.c (pass_data_tree_loop_init): Execute
update-address-taken before the pass.
* passes.def (pass_tree_loop_init): Put comment before it.
* g++.dg/vect/pr89653.cc: New testcase.
From-SVN: r270800
Diffstat (limited to 'gcc/passes.def')
-rw-r--r-- | gcc/passes.def | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/passes.def b/gcc/passes.def index 99640d50091..ad2efabd385 100644 --- a/gcc/passes.def +++ b/gcc/passes.def @@ -255,6 +255,8 @@ along with GCC; see the file COPYING3. If not see NEXT_PASS (pass_fix_loops); NEXT_PASS (pass_tree_loop); PUSH_INSERT_PASSES_WITHIN (pass_tree_loop) + /* Before loop_init we rewrite no longer addressed locals into SSA + form if possible. */ NEXT_PASS (pass_tree_loop_init); NEXT_PASS (pass_tree_unswitch); NEXT_PASS (pass_scev_cprop); |