aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vrp.c
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2021-09-29 17:16:49 +0200
committerAldy Hernandez <aldyh@redhat.com>2021-09-29 20:27:52 +0200
commit48c97c62c90eedfadd41793f438ed4187df65fd7 (patch)
tree6c590f22c618f811966153fc147fd4ed408d189a /gcc/tree-vrp.c
parent5e2adfeed21ee584a82cdcdfa7eed41202eb67cd (diff)
downloadgcc-48c97c62c90eedfadd41793f438ed4187df65fd7.zip
gcc-48c97c62c90eedfadd41793f438ed4187df65fd7.tar.gz
gcc-48c97c62c90eedfadd41793f438ed4187df65fd7.tar.bz2
Use a separate TV_* timer for the VRP threader.
There seems to be a memory consumption issue on 32 bit hosts after the hybrid threader patchset. I'm having a hard time reproducing, and in the process I've noticed that the threader is using the TV_TREE_VRP timer. Having a distinct one could help diagnose this and other issues going forward. gcc/ChangeLog: * timevar.def (TV_TREE_VRP_THREADER): New. * tree-vrp.c: Use TV_TREE_VRP_THREADER for VRP threader pass.
Diffstat (limited to 'gcc/tree-vrp.c')
-rw-r--r--gcc/tree-vrp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c
index 5aded5e..db9f3cd 100644
--- a/gcc/tree-vrp.c
+++ b/gcc/tree-vrp.c
@@ -4449,7 +4449,7 @@ const pass_data pass_data_vrp_threader =
GIMPLE_PASS, /* type */
"vrp-thread", /* name */
OPTGROUP_NONE, /* optinfo_flags */
- TV_TREE_VRP, /* tv_id */
+ TV_TREE_VRP_THREADER, /* tv_id */
PROP_ssa, /* properties_required */
0, /* properties_provided */
0, /* properties_destroyed */