Commit 1dc3d6e9 by Bill Schmidt Committed by William Schmidt

gimple-ssa-strength-reduction.c (count_candidates): Change return value to int.

2013-05-08  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* gimple-ssa-strength-reduction.c (count_candidates): Change
	return value to int.
	(analyze_candidates_and_replace): Change type of length to int.

From-SVN: r198715
parent b0cda57f
2013-05-08 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
* gimple-ssa-strength-reduction.c (count_candidates): Change
return value to int.
(analyze_candidates_and_replace): Change type of length to int.
2013-05-08 Uros Bizjak <ubizjak@gmail.com> 2013-05-08 Uros Bizjak <ubizjak@gmail.com>
* config/i386/sse.md (PEXTR_MODE, PEXTR_MODEx): Remove. * config/i386/sse.md (PEXTR_MODE, PEXTR_MODEx): Remove.
......
...@@ -2259,7 +2259,7 @@ replace_uncond_cands_and_profitable_phis (slsr_cand_t c) ...@@ -2259,7 +2259,7 @@ replace_uncond_cands_and_profitable_phis (slsr_cand_t c)
/* Count the number of candidates in the tree rooted at C that have /* Count the number of candidates in the tree rooted at C that have
not already been replaced under other interpretations. */ not already been replaced under other interpretations. */
static unsigned static int
count_candidates (slsr_cand_t c) count_candidates (slsr_cand_t c)
{ {
unsigned count = cand_already_replaced (c) ? 0 : 1; unsigned count = cand_already_replaced (c) ? 0 : 1;
...@@ -3361,7 +3361,7 @@ analyze_candidates_and_replace (void) ...@@ -3361,7 +3361,7 @@ analyze_candidates_and_replace (void)
less expensive to calculate than the replaced statements. */ less expensive to calculate than the replaced statements. */
else else
{ {
unsigned length; int length;
enum machine_mode mode; enum machine_mode mode;
bool speed; bool speed;
......
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