value-prof.c (gimple_divmod_fixed_value_transform): Update the stmt.
2010-11-17 Richard Guenther <rguenther@suse.de> * value-prof.c (gimple_divmod_fixed_value_transform): Update the stmt. (gimple_mod_pow2_value_transform): Likewise. (gimple_mod_subtract_transform): Likewise. From-SVN: r166871
This commit is contained in:
parent
3c760b86e1
commit
0197bf54a1
@ -1,3 +1,10 @@
|
||||
2010-11-17 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
* value-prof.c (gimple_divmod_fixed_value_transform): Update
|
||||
the stmt.
|
||||
(gimple_mod_pow2_value_transform): Likewise.
|
||||
(gimple_mod_subtract_transform): Likewise.
|
||||
|
||||
2010-11-17 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR lto/46504
|
||||
|
@ -702,6 +702,7 @@ gimple_divmod_fixed_value_transform (gimple_stmt_iterator *si)
|
||||
}
|
||||
|
||||
gimple_assign_set_rhs_from_tree (si, result);
|
||||
update_stmt (gsi_stmt (*si));
|
||||
|
||||
return true;
|
||||
}
|
||||
@ -851,6 +852,7 @@ gimple_mod_pow2_value_transform (gimple_stmt_iterator *si)
|
||||
result = gimple_mod_pow2 (stmt, prob, count, all);
|
||||
|
||||
gimple_assign_set_rhs_from_tree (si, result);
|
||||
update_stmt (gsi_stmt (*si));
|
||||
|
||||
return true;
|
||||
}
|
||||
@ -1051,6 +1053,7 @@ gimple_mod_subtract_transform (gimple_stmt_iterator *si)
|
||||
result = gimple_mod_subtract (stmt, prob1, prob2, i, count1, count2, all);
|
||||
|
||||
gimple_assign_set_rhs_from_tree (si, result);
|
||||
update_stmt (gsi_stmt (*si));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user