]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Use tree view for find_always_executed_bbs result
authorRichard Biener <rguenther@suse.de>
Wed, 25 Sep 2024 10:52:32 +0000 (12:52 +0200)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 25 Sep 2024 12:06:39 +0000 (14:06 +0200)
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.

gcc/ipa-utils.cc

index 3be0ddb8e966022b4b416db707d0c8e037c0fc65..dbfc60ff8acbd04b1925cecf6d4ef95731b8dba6 100644 (file)
@@ -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)))
     {