--- /dev/null
+/* This used to ICE after PHI-OPT because of the "empty block" and diamond form bbs
+ was not checking to make sure each bbs were only coming from the one bb. */
+
+int nilfs_bmap_find_target_seq_bmap;
+unsigned long nilfs_bmap_find_target_seq_bmap_0;
+unsigned long nilfs_bmap_find_target_seq() {
+ if (nilfs_bmap_find_target_seq_bmap &&
+ nilfs_bmap_find_target_seq_bmap_0 + nilfs_bmap_find_target_seq_bmap)
+ return nilfs_bmap_find_target_seq_bmap_0 + nilfs_bmap_find_target_seq_bmap;
+ else
+ return 0;
+}
+
--- /dev/null
+/* This used to ICE after PHI-OPT because of the "empty block" and diamond form bbs
+ was not checking to make sure each bbs were only coming from the one bb. */
+
+struct {
+ int second;
+} selectPlayer_playerRes;
+int selectPlayer_playerRes_0;
+int selectPlayer() {
+ if (selectPlayer_playerRes_0 && selectPlayer_playerRes.second >= 0)
+ return selectPlayer_playerRes.second;
+ else
+ return -1;
+}
continue;
}
+ if (diamond_p)
+ {
+ if (!single_pred_p (bb1)
+ || !single_pred_p (bb2)
+ || !single_succ_p (bb2))
+ continue;
+ }
+
if (do_store_elim && !diamond_p)
{
/* Also make sure that bb1 only have one predecessor and that it
tree alt_lhs, alt_op0, alt_op1;
bool invert = false;
- if (!single_pred_p (middle_bb)
- || !single_pred_p (alt_middle_bb)
- || !single_succ_p (middle_bb)
- || !single_succ_p (alt_middle_bb))
- return false;
-
/* When THREEWAY_P then e1 will point to the edge of the final transition
from middle-bb to end. */
if (true_edge == e0)