aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2023-05-23 11:55:45 +0200
committerRichard Biener <rguenther@suse.de>2023-05-23 12:56:57 +0200
commit0b4ae6e1ec8d71ab0dd1612999bb78108d56f4c2 (patch)
tree1e34a94ecfe57fabfd8efcc1885fa9770acee88f /gcc
parentb096a6ebe9d9f9fed4c105f6555f724eb32af95c (diff)
downloadgcc-0b4ae6e1ec8d71ab0dd1612999bb78108d56f4c2.zip
gcc-0b4ae6e1ec8d71ab0dd1612999bb78108d56f4c2.tar.gz
gcc-0b4ae6e1ec8d71ab0dd1612999bb78108d56f4c2.tar.bz2
Dump ANTIC_OUT before pruning it
This dumps ANTIC_OUT before pruning clobbered mems from it as part of the ANTIC_IN compute. * tree-ssa-pre.cc (compute_antic_aux): Dump the correct ANTIC_OUT.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/tree-ssa-pre.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/tree-ssa-pre.cc b/gcc/tree-ssa-pre.cc
index d56431b..b1ceea9 100644
--- a/gcc/tree-ssa-pre.cc
+++ b/gcc/tree-ssa-pre.cc
@@ -2216,6 +2216,10 @@ compute_antic_aux (basic_block block, bool block_has_abnormal_pred_edge)
}
}
+ /* Dump ANTIC_OUT before it's pruned. */
+ if (dump_file && (dump_flags & TDF_DETAILS))
+ print_bitmap_set (dump_file, ANTIC_OUT, "ANTIC_OUT", block->index);
+
/* Prune expressions that are clobbered in block and thus become
invalid if translated from ANTIC_OUT to ANTIC_IN. */
prune_clobbered_mems (ANTIC_OUT, block);
@@ -2270,9 +2274,6 @@ compute_antic_aux (basic_block block, bool block_has_abnormal_pred_edge)
maybe_dump_sets:
if (dump_file && (dump_flags & TDF_DETAILS))
{
- if (ANTIC_OUT)
- print_bitmap_set (dump_file, ANTIC_OUT, "ANTIC_OUT", block->index);
-
if (changed)
fprintf (dump_file, "[changed] ");
print_bitmap_set (dump_file, ANTIC_IN (block), "ANTIC_IN",