Commit 844e904d by Sebastian Pop Committed by Sebastian Pop

Fix unused warnings.

2010-11-26  Sebastian Pop  <sebastian.pop@amd.com>

	* graphite-sese-to-poly.c (analyze_drs_in_stmts): Fix set but
	unused warning.
	(rewrite_cross_bb_scalar_deps_out_of_ssa): Same.

From-SVN: r167351
parent 278b1a1d
2010-12-01 Sebastian Pop <sebastian.pop@amd.com> 2010-12-01 Sebastian Pop <sebastian.pop@amd.com>
* graphite-sese-to-poly.c (analyze_drs_in_stmts): Fix set but
unused warning.
(rewrite_cross_bb_scalar_deps_out_of_ssa): Same.
2010-12-01 Sebastian Pop <sebastian.pop@amd.com>
* graphite-sese-to-poly.c (analyze_drs): Removed. * graphite-sese-to-poly.c (analyze_drs): Removed.
(build_scop_drs): Do not call analyze_drs. (build_scop_drs): Do not call analyze_drs.
(analyze_drs_in_stmts): New. (analyze_drs_in_stmts): New.
2010-11-26 Sebastian Pop <sebastian.pop@amd.com> 2010-11-26 Sebastian Pop <sebastian.pop@amd.com>
* graphite-sese-to-poly.c (analyze_drs_in_stmts): Fix set but
unused warning.
(rewrite_cross_bb_scalar_deps_out_of_ssa): Same.
2010-11-26 Sebastian Pop <sebastian.pop@amd.com>
* graphite-sese-to-poly.c (analyze_drs): Removed. * graphite-sese-to-poly.c (analyze_drs): Removed.
(build_scop_drs): Do not call analyze_drs. (build_scop_drs): Do not call analyze_drs.
(analyze_drs_in_stmts): New. (analyze_drs_in_stmts): New.
......
...@@ -2025,7 +2025,6 @@ static void ...@@ -2025,7 +2025,6 @@ static void
analyze_drs_in_stmts (scop_p scop, basic_block bb, VEC (gimple, heap) *stmts) analyze_drs_in_stmts (scop_p scop, basic_block bb, VEC (gimple, heap) *stmts)
{ {
loop_p nest; loop_p nest;
poly_bb_p pbb;
gimple_bb_p gbb; gimple_bb_p gbb;
gimple stmt; gimple stmt;
int i; int i;
...@@ -2034,7 +2033,6 @@ analyze_drs_in_stmts (scop_p scop, basic_block bb, VEC (gimple, heap) *stmts) ...@@ -2034,7 +2033,6 @@ analyze_drs_in_stmts (scop_p scop, basic_block bb, VEC (gimple, heap) *stmts)
return; return;
nest = outermost_loop_in_sese (SCOP_REGION (scop), bb); nest = outermost_loop_in_sese (SCOP_REGION (scop), bb);
pbb = pbb_from_bb (bb);
gbb = gbb_from_bb (bb); gbb = gbb_from_bb (bb);
FOR_EACH_VEC_ELT (gimple, stmts, i, stmt) FOR_EACH_VEC_ELT (gimple, stmts, i, stmt)
...@@ -2571,13 +2569,12 @@ static void ...@@ -2571,13 +2569,12 @@ static void
rewrite_cross_bb_scalar_deps_out_of_ssa (scop_p scop) rewrite_cross_bb_scalar_deps_out_of_ssa (scop_p scop)
{ {
basic_block bb; basic_block bb;
basic_block exit;
gimple_stmt_iterator psi; gimple_stmt_iterator psi;
sese region = SCOP_REGION (scop); sese region = SCOP_REGION (scop);
bool changed = false; bool changed = false;
/* Create an extra empty BB after the scop. */ /* Create an extra empty BB after the scop. */
exit = split_edge (SESE_EXIT (region)); split_edge (SESE_EXIT (region));
FOR_EACH_BB (bb) FOR_EACH_BB (bb)
if (bb_in_sese_p (bb, region)) if (bb_in_sese_p (bb, region))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment