* [PATCH] Dump ANTIC_OUT before pruning it
@ 2023-05-23 10:56 Richard Biener
0 siblings, 0 replies; only message in thread
From: Richard Biener @ 2023-05-23 10:56 UTC (permalink / raw)
To: gcc-patches
This dumps ANTIC_OUT before pruning clobbered mems from it as part
of the ANTIC_IN compute.
Bootstrapped and tested on x86_64-unknown-linux-gnu, pushed.
* tree-ssa-pre.cc (compute_antic_aux): Dump the correct
ANTIC_OUT.
---
gcc/tree-ssa-pre.cc | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/gcc/tree-ssa-pre.cc b/gcc/tree-ssa-pre.cc
index d56431b4145..b1ceea90a8e 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",
--
2.35.3
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-05-23 10:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-23 10:56 [PATCH] Dump ANTIC_OUT before pruning it Richard Biener
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).