https://gcc.gnu.org/g:7ad17fe095772f71c2f76bc75f92dcb93941ad96

commit r15-3857-g7ad17fe095772f71c2f76bc75f92dcb93941ad96
Author: Richard Biener <rguent...@suse.de>
Date:   Wed Sep 25 12:52:32 2024 +0200

    Use tree view for find_always_executed_bbs result
    
    The following makes us use bitmap tree view for the always-executed-BBs
    bitmap as computed by IPA utils find_always_executed_bbs and used by
    IPA modref (where it shows up in the profile for PR114855.
    
            * ipa-utils.cc (find_always_executed_bbs): Switch result
            bitmap to tree view.

Diff:
---
 gcc/ipa-utils.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/ipa-utils.cc b/gcc/ipa-utils.cc
index 3be0ddb8e966..dbfc60ff8acb 100644
--- a/gcc/ipa-utils.cc
+++ b/gcc/ipa-utils.cc
@@ -907,6 +907,7 @@ find_always_executed_bbs (function *fun, bool 
assume_return_or_eh)
      exit block.  */
 
   bitmap ret = BITMAP_ALLOC (NULL);
+  bitmap_tree_view (ret);
   /* A degenerated case when there is no path to exit.  */
   if (!visited.contains (EXIT_BLOCK_PTR_FOR_FN (fun)))
     {

Reply via email to