mirror of git://gcc.gnu.org/git/gcc.git
gimple-ssa-strength-reduction.c (slsr_process_phi): Remove dead and unnecessary call to gimple_bb.
2016-07-26 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * gimple-ssa-strength-reduction.c (slsr_process_phi): Remove dead and unnecessary call to gimple_bb. From-SVN: r238758
This commit is contained in:
parent
0b64ca40f3
commit
6e281ce309
|
|
@ -1,3 +1,8 @@
|
||||||
|
2016-07-26 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
||||||
|
|
||||||
|
* gimple-ssa-strength-reduction.c (slsr_process_phi): Remove dead
|
||||||
|
and unnecessary call to gimple_bb.
|
||||||
|
|
||||||
2016-07-26 Richard Biener <rguenther@suse.de>
|
2016-07-26 Richard Biener <rguenther@suse.de>
|
||||||
|
|
||||||
PR rtl-optimization/71984
|
PR rtl-optimization/71984
|
||||||
|
|
|
||||||
|
|
@ -785,14 +785,10 @@ slsr_process_phi (gphi *phi, bool speed)
|
||||||
savings += stmt_cost (arg_stmt, speed);
|
savings += stmt_cost (arg_stmt, speed);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else if (SSA_NAME_IS_DEFAULT_DEF (arg))
|
||||||
{
|
{
|
||||||
derived_base_name = arg;
|
derived_base_name = arg;
|
||||||
|
|
||||||
if (SSA_NAME_IS_DEFAULT_DEF (arg))
|
|
||||||
arg_bb = single_succ (ENTRY_BLOCK_PTR_FOR_FN (cfun));
|
arg_bb = single_succ (ENTRY_BLOCK_PTR_FOR_FN (cfun));
|
||||||
else
|
|
||||||
gimple_bb (SSA_NAME_DEF_STMT (arg));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!arg_bb || arg_bb->loop_father != cand_loop)
|
if (!arg_bb || arg_bb->loop_father != cand_loop)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue