From patchwork Mon Aug 15 11:06:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Biener X-Patchwork-Id: 659169 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3sCXjr2K4Kz9t2Y for ; Mon, 15 Aug 2016 21:06:24 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=Fhh5oTSg; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=Jlkh5tYL1faA7zDIzVTafWA/9/ABI6HTvDiAtJ/sd3sDJqWstB/fA fyJarU1Djy1cY3tomqHjR+ouw4vnFT+5PT+91nhYWPyprMmanIwOMkLw5sHyTGCl w+EMZTIKFt/UxavoMwRhxJIGor6i40ilHKKI44i/MLRnZyVA4oPOg4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=tqB0rgcnIYqVSAjeqQ1TXQO9l5A=; b=Fhh5oTSgKufBqU2XqNDR I6T1UMlmfFbpTkYmJG5X32rpt+pJado3Qaec3xv7xWlaUcZhpiinwJx1UOLygUUU XhW9qaEuYgllJeqUhI+ot52kuoFETtaH0xEluro9Jea4lZTQGAVip75ariAQn+fu eGmqXzCMbnG46vIsFp3IfT4= Received: (qmail 3892 invoked by alias); 15 Aug 2016 11:06:17 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 3875 invoked by uid 89); 15 Aug 2016 11:06:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=BAYES_00, KAM_ASCII_DIVIDERS, RP_MATCHES_RCVD, SPF_PASS autolearn=no version=3.3.2 spammy= X-HELO: mx2.suse.de Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 15 Aug 2016 11:06:05 +0000 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id E6ACAAAF2 for ; Mon, 15 Aug 2016 11:06:03 +0000 (UTC) Date: Mon, 15 Aug 2016 13:06:03 +0200 (CEST) From: Richard Biener To: gcc-patches@gcc.gnu.org Subject: [PATCH] Some timevar fixes Message-ID: User-Agent: Alpine 2.11 (LSU 23 2013-08-11) MIME-Version: 1.0 I had those in my tree. Committed as obvious. Richard. 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. Index: gcc/ree.c =================================================================== --- gcc/ree.c (revision 239460) +++ gcc/ree.c (working copy) @@ -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; } Index: gcc/config/i386/i386.c =================================================================== --- gcc/config/i386/i386.c (revision 239460) +++ gcc/config/i386/i386.c (working copy) @@ -4057,7 +4057,7 @@ const pass_data pass_data_insert_vzeroup 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 */