diff options
author | Richard Henderson <rth@redhat.com> | 2002-04-09 14:15:38 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2002-04-09 14:15:38 -0700 |
commit | b47374fa9bcf1d1349d9292610b8878692dd0ee0 (patch) | |
tree | 8754b8c85cc9b9c8aec4625d23bc14b3772ad4ff /gcc/gcse.c | |
parent | 1951818c2f0d1786ee339c5875578f864a5d2ae9 (diff) | |
download | gcc-b47374fa9bcf1d1349d9292610b8878692dd0ee0.zip gcc-b47374fa9bcf1d1349d9292610b8878692dd0ee0.tar.gz gcc-b47374fa9bcf1d1349d9292610b8878692dd0ee0.tar.bz2 |
sbitmap.c (sbitmap_union_of_diff, [...]): Do not return changed status.
* sbitmap.c (sbitmap_union_of_diff, sbitmap_a_and_b, sbitmap_a_xor_b,
sbitmap_a_or_b, sbitmap_a_or_b_and_c, sbitmap_a_and_b_or_c):
Do not return changed status.
(sbitmap_union_of_diff_cg, sbitmap_a_and_b_cg, sbitmap_a_xor_b_cg,
sbitmap_a_or_b_cg, sbitmap_a_or_b_and_c_cg, sbitmap_a_and_b_or_c_cg):
New functions that do return changed status.
* sbitmap.h: Update decls.
* gcse.c, lcm.c: Use _cg functions as needed.
From-SVN: r52094
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r-- | gcc/gcse.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -3023,8 +3023,8 @@ compute_rd () for (bb = 0; bb < n_basic_blocks; bb++) { sbitmap_union_of_preds (reaching_defs[bb], rd_out, bb); - changed |= sbitmap_union_of_diff (rd_out[bb], rd_gen[bb], - reaching_defs[bb], rd_kill[bb]); + changed |= sbitmap_union_of_diff_cg (rd_out[bb], rd_gen[bb], + reaching_defs[bb], rd_kill[bb]); } passes++; } @@ -5559,8 +5559,8 @@ compute_code_hoist_vbeinout () the convergence. */ for (bb = n_basic_blocks - 1; bb >= 0; bb--) { - changed |= sbitmap_a_or_b_and_c (hoist_vbein[bb], antloc[bb], - hoist_vbeout[bb], transp[bb]); + changed |= sbitmap_a_or_b_and_c_cg (hoist_vbein[bb], antloc[bb], + hoist_vbeout[bb], transp[bb]); if (bb != n_basic_blocks - 1) sbitmap_intersection_of_succs (hoist_vbeout[bb], hoist_vbein, bb); } |