Commit e64905d8 by Richard Biener Committed by Richard Biener

re PR tree-optimization/67842 (Incorrect check in sese.h:bb_in_region)

2017-12-14  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/67842
	* sese.h (bb_in_region): Remove #if 0'ed code.

From-SVN: r255636
parent 8fa06648
2017-12-14 Richard Biener <rguenther@suse.de> 2017-12-14 Richard Biener <rguenther@suse.de>
PR tree-optimization/67842
* sese.h (bb_in_region): Remove #if 0'ed code.
2017-12-14 Richard Biener <rguenther@suse.de>
PR tree-optimization/83326 PR tree-optimization/83326
* tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Add * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Add
may_be_zero parameter and handle it by not marking the first may_be_zero parameter and handle it by not marking the first
...@@ -120,20 +120,6 @@ sese_nb_params (sese_info_p region) ...@@ -120,20 +120,6 @@ sese_nb_params (sese_info_p region)
static inline bool static inline bool
bb_in_region (const_basic_block bb, const_basic_block entry, const_basic_block exit) bb_in_region (const_basic_block bb, const_basic_block entry, const_basic_block exit)
{ {
/* FIXME: PR67842. */
#if 0
if (flag_checking)
{
edge e;
edge_iterator ei;
/* Check that there are no edges coming in the region: all the
predecessors of EXIT are dominated by ENTRY. */
FOR_EACH_EDGE (e, ei, exit->preds)
gcc_assert (dominated_by_p (CDI_DOMINATORS, e->src, entry));
}
#endif
return dominated_by_p (CDI_DOMINATORS, bb, entry) return dominated_by_p (CDI_DOMINATORS, bb, entry)
&& !(dominated_by_p (CDI_DOMINATORS, bb, exit) && !(dominated_by_p (CDI_DOMINATORS, bb, exit)
&& !dominated_by_p (CDI_DOMINATORS, entry, exit)); && !dominated_by_p (CDI_DOMINATORS, entry, exit));
......
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