]> git.ipfire.org Git - thirdparty/gcc.git/commit
[tree-vectorizer.c] Merge pass_vectorize::execute with vectorize_loops and replace...
authorPrathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
Mon, 15 Nov 2021 10:07:36 +0000 (15:37 +0530)
committerPrathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
Mon, 15 Nov 2021 10:07:36 +0000 (15:37 +0530)
commit2551cd4f9bc1afee444a56e03c1cee6899593da9
tree19d9192cc6660bf32a652d4d965899302c952f4b
parenta91f844ef449d0dd1cf2e0e47b0ade0d8a6304e1
[tree-vectorizer.c] Merge pass_vectorize::execute with vectorize_loops and replace occurences of cfun with function param.

gcc/ChangeLog:
* tree-ssa-loop.c (pass_vectorize): Move to tree-vectorizer.c.
(pass_data_vectorize): Likewise.
(make_pass_vectorize): Likewise.
* tree-vectorizer.c (vectorize_loops): Merge with
pass_vectorize::execute and replace cfun occurences with fun param.
(adjust_simduid_builtins): Add fun param, replace cfun occurences with
fun, and adjust callers approrpiately.
(note_simd_array_uses): Likewise.
(vect_loop_dist_alias_call): Likewise.
(set_uid_loop_bbs): Likewise.
(vect_transform_loops): Likewise.
(try_vectorize_loop_1): Likewise.
(try_vectorize_loop): Likewise.
gcc/tree-ssa-loop.c
gcc/tree-vectorizer.c