From 397d8acd712325e0885f092e01f69bcade62adbd Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Mon, 15 Aug 2016 11:07:52 +0000 Subject: [PATCH] ree.c (rest_of_handle_ree): Remove redundant timevar push/pop. 2016-08-15 Richard Biener * ree.c (rest_of_handle_ree): Remove redundant timevar push/pop. * config/i386/i386.c (pass_data_insert_vzeroupper): Account to TV_MACH_DEP. (pass_data_stv): Likewise. From-SVN: r239474 --- gcc/ChangeLog | 7 +++++++ gcc/config/i386/i386.c | 4 ++-- gcc/ree.c | 2 -- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4e6ffb46a3c..2b5355d0f9f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2016-08-15 Richard Biener + + * ree.c (rest_of_handle_ree): Remove redundant timevar push/pop. + * config/i386/i386.c (pass_data_insert_vzeroupper): Account to + TV_MACH_DEP. + (pass_data_stv): Likewise. + 2016-08-15 Richard Biener PR tree-optimization/73434 diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 62896bfbb1e..7170194a3a1 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -4057,7 +4057,7 @@ const pass_data pass_data_insert_vzeroupper = RTL_PASS, /* type */ "vzeroupper", /* name */ OPTGROUP_NONE, /* optinfo_flags */ - TV_NONE, /* tv_id */ + TV_MACH_DEP, /* tv_id */ 0, /* properties_required */ 0, /* properties_provided */ 0, /* properties_destroyed */ @@ -4092,7 +4092,7 @@ const pass_data pass_data_stv = RTL_PASS, /* type */ "stv", /* name */ OPTGROUP_NONE, /* optinfo_flags */ - TV_NONE, /* tv_id */ + TV_MACH_DEP, /* tv_id */ 0, /* properties_required */ 0, /* properties_provided */ 0, /* properties_destroyed */ diff --git a/gcc/ree.c b/gcc/ree.c index 3245ac58fa8..2929277bfd0 100644 --- a/gcc/ree.c +++ b/gcc/ree.c @@ -1247,9 +1247,7 @@ find_and_remove_re (void) static unsigned int rest_of_handle_ree (void) { - timevar_push (TV_REE); find_and_remove_re (); - timevar_pop (TV_REE); return 0; } -- 2.30.2