From patchwork Fri May 13 12:35:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kyrill Tkachov X-Patchwork-Id: 621991 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 3r5q8P0QKhz9t69 for ; Fri, 13 May 2016 22:35:48 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=Wyu4L34y; 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 :message-id:date:from:mime-version:to:subject:content-type; q= dns; s=default; b=ObvuRHNvIGNIaus1577Ku2DeTbKKOgeoV99tfHhl9wxGvv lm2xVoABC3Foqm6VKv1HGz+TXE7Q9kzVGo/Jw+P3sYeH3F1di2RG9SwrK/ioKDjA zqdFrhbS22uJYeGywLRgLM8o6vAUlcDIs46J+ae0PXtd5GeW+ryy9Stb1eNgo= 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 :message-id:date:from:mime-version:to:subject:content-type; s= default; bh=1HrYQUIKzstP3u8mlJqOVEwnhIs=; b=Wyu4L34yRbwI9es//UY9 OvhQKb9JWyQD7IRC7AcGv7ibTjaBGkVN54UhHXrLay2kHXtkgkK5lC5tsvUSaqPT 4ytYJG2LKRCPmGgMtJVdKsQSTHeQB4HT7YCNAH34XagXiZJWd4mY+tz7e5xdF3sA Mxd3s/B9WIfO/r5+aypsGwI= Received: (qmail 78796 invoked by alias); 13 May 2016 12:35:41 -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 78778 invoked by uid 89); 13 May 2016 12:35:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=BAYES_00, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy= X-HELO: foss.arm.com Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 13 May 2016 12:35:30 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A423E3A for ; Fri, 13 May 2016 05:35:42 -0700 (PDT) Received: from [10.2.206.43] (e100706-lin.cambridge.arm.com [10.2.206.43]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8316F3F487 for ; Fri, 13 May 2016 05:35:28 -0700 (PDT) Message-ID: <5735CA0F.8070105@foss.arm.com> Date: Fri, 13 May 2016 13:35:27 +0100 From: Kyrill Tkachov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: GCC Patches Subject: [PATCH][obvious] Typo fix in tree-ssa-loop-ivanon.c Committing as obvious. Thanks, Kyrill 2016-05-12 Kyrylo Tkachov * tree-ssa-loop-ivanon.c (try_unroll_loop_completely): Typo fix in comment. diff --git a/gcc/tree-ssa-loop-ivcanon.c b/gcc/tree-ssa-loop-ivcanon.c index 9d92276dbbbfe3a768b9e8b0c90ee60e05c885fb..e8f67953231f54ce2517a55e1587ccf646b8f74c 100644 --- a/gcc/tree-ssa-loop-ivcanon.c +++ b/gcc/tree-ssa-loop-ivcanon.c @@ -807,7 +807,7 @@ try_unroll_loop_completely (struct loop *loop, loop->num); return false; } - /* Complette unrolling is major win when control flow is removed and + /* Complete unrolling is a major win when control flow is removed and one big basic block is created. If the loop contains control flow the optimization may still be a win because of eliminating the loop overhead but it also may blow the branch predictor tables.