aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2024-09-25 12:52:32 +0200
committerRichard Biener <rguenth@gcc.gnu.org>2024-09-25 14:06:39 +0200
commit7ad17fe095772f71c2f76bc75f92dcb93941ad96 (patch)
tree4e74a7b34ee42ab61f9d574720396cf3ce11ef9a /gcc
parentfcff9c3dad4f356cbf56feaed7442893203a3003 (diff)
downloadgcc-7ad17fe095772f71c2f76bc75f92dcb93941ad96.zip
gcc-7ad17fe095772f71c2f76bc75f92dcb93941ad96.tar.gz
gcc-7ad17fe095772f71c2f76bc75f92dcb93941ad96.tar.bz2
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ipa-utils.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ipa-utils.cc b/gcc/ipa-utils.cc
index 3be0ddb..dbfc60f 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)))
{