aboutsummaryrefslogtreecommitdiff
path: root/gcc/passes.c
diff options
context:
space:
mode:
authorArtjoms Sinkarovs <artyom.shinkaroff@gmail.com>2010-11-04 10:54:33 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2010-11-04 10:54:33 +0000
commit47853c73001ded810bfe6e4ca7f7ef34be600681 (patch)
treededa1d4b4cc70866a2c7abdb650bf6e35c900463 /gcc/passes.c
parentd8ed14ce4ecb92c728dca62a02090d5cf6f10fcf (diff)
downloadgcc-47853c73001ded810bfe6e4ca7f7ef34be600681.zip
gcc-47853c73001ded810bfe6e4ca7f7ef34be600681.tar.gz
gcc-47853c73001ded810bfe6e4ca7f7ef34be600681.tar.bz2
passes.c (init_optimization_passes): Move veclower after SSA.
2010-11-04 Artjoms Sinkarovs <artyom.shinakroff@gmail.com> Richard Guenther <rguenther@suse.de> * passes.c (init_optimization_passes): Move veclower after SSA. * tree-vect-generic.c (uniform_vector_p): New function. (expand_vector_operations_1): Handle conversion. (pass_lower_vector): Update SSA form. testsuite/ * gcc.dg/vec-scal-opt.c: New testcase. * gcc.dg/vec-scal-opt1.c: New testcase. * gcc.dg/vec-scal-opt2.c: New testcase. From-SVN: r166303
Diffstat (limited to 'gcc/passes.c')
-rw-r--r--gcc/passes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/passes.c b/gcc/passes.c
index 1ee3400..5da5ea8 100644
--- a/gcc/passes.c
+++ b/gcc/passes.c
@@ -736,7 +736,6 @@ init_optimization_passes (void)
NEXT_PASS (pass_refactor_eh);
NEXT_PASS (pass_lower_eh);
NEXT_PASS (pass_build_cfg);
- NEXT_PASS (pass_lower_vector);
NEXT_PASS (pass_warn_function_return);
NEXT_PASS (pass_build_cgraph_edges);
NEXT_PASS (pass_inline_parameters);
@@ -755,6 +754,7 @@ init_optimization_passes (void)
NEXT_PASS (pass_referenced_vars);
NEXT_PASS (pass_build_ssa);
+ NEXT_PASS (pass_lower_vector);
NEXT_PASS (pass_early_warn_uninitialized);
/* Note that it is not strictly necessary to schedule an early
inline pass here. However, some test cases (e.g.,