+2013-05-06 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
+
+ * gimple-ssa-strength-reduction.c (slsr_process_phi): Re-enable.
+ (find_candidates_in_block): Re-enable slsr_process_phi.
+ (create_phi_basis): Fix double counting of candidate adjustment.
+
2013-05-06 Richard Biener <rguenther@suse.de>
PR middle-end/57147
*slot = c;
}
\f
-// FORNOW: Disable conditional candidate processing until bootstrap
-// issue can be sorted out for i686-pc-linux-gnu.
-#if 0
/* Given PHI which contains a phi statement, determine whether it
satisfies all the requirements of a phi candidate. If so, create
a candidate. Note that a CAND_PHI never has a basis itself, but
/* Add the candidate to the statement-candidate mapping. */
add_cand_for_stmt (phi, c);
}
-#endif
/* Look for the following pattern:
bool speed = optimize_bb_for_speed_p (bb);
gimple_stmt_iterator gsi;
-// FORNOW: Disable conditional candidate processing until bootstrap
-// issue can be sorted out for i686-pc-linux-gnu.
-#if 0
for (gsi = gsi_start_phis (bb); !gsi_end_p (gsi); gsi_next (&gsi))
slsr_process_phi (gsi_stmt (gsi), speed);
-#endif
for (gsi = gsi_start_bb (bb); !gsi_end_p (gsi); gsi_next (&gsi))
{
feeding_def = gimple_assign_lhs (basis->cand_stmt);
else
{
- double_int incr = c->index - basis->index;
+ double_int incr = -basis->index;
feeding_def = create_add_on_incoming_edge (c, basis_name, incr,
e, loc, known_stride);
}
-2013-05-03 Teresa Johnson <tejohnson@google.com>
+2013-05-06 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
+
+ * gcc.dg/tree-ssa/slsr-32.c: Re-enable.
+ * gcc.dg/tree-ssa/slsr-33.c: Likewise.
+ * gcc.dg/tree-ssa/slsr-34.c: Likewise.
+ * gcc.dg/tree-ssa/slsr-35.c: Likewise.
+ * gcc.dg/tree-ssa/slsr-36.c: Likewise.
+ * gcc.dg/tree-ssa/slsr-37.c: Likewise.
+ * gcc.dg/tree-ssa/slsr-38.c: Likewise.
+
+2013-05-06 Teresa Johnson <tejohnson@google.com>
PR bootstrap/57154
* gcc.dg/pr57154.c: New test.