From patchwork Tue Sep 5 07:35:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 137479 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ab0a:0:b0:3f2:4152:657d with SMTP id m10csp1519000vqo; Tue, 5 Sep 2023 00:36:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHEHOTKSOkgxDPq2GWm3pKFTFs/Ly2w4AUHbYp5vRxBaPgwx/dxkuzAL682sgw7DCBzvVnU X-Received: by 2002:a17:906:295:b0:9a1:c44d:7056 with SMTP id 21-20020a170906029500b009a1c44d7056mr9390305ejf.26.1693899406197; Tue, 05 Sep 2023 00:36:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693899406; cv=none; d=google.com; s=arc-20160816; b=CKnLmyjejl6p+PoeSE4ViHl1XVGYwL+pIcrOX88i6g8Xyp0QjPj38vl8xAosanBwfi ubLnnlXv7OnujiQN2Ov9/MkOK4dbBbnw/wjcZm4Zn+4/Xd2Nk+hJ8YtIWAaKt7EdjcYV 4stEAldn4E3IUogxcqNOYE99ZMHufTDD1cKuVF6iigbNvn0m8eSR6pKrLwf2TBwTSIhM V8r4wk1ZicFLbetrQJ/cYe/gaZUmAcqTC3LJ7Iky+qXyef1uuQ7jYApcXoYBsBjhPM+s 15JCOaT5K0Zy1HQkmTIp0bJ8Dk+Ua5aUnynWcRTbbQTn8kD4PSr9KTIh3xNkb3HfVHHJ of5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-disposition:mime-version:message-id:subject:to:date :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=96qOuaVjoDDrH9bxkFUbuwsq68Fh3el+JhafnpPF3i4=; fh=hPrbWPhweUx4V0GV9uXJqbyAzg2ABmTz7kczrAQqMmM=; b=uh7Zn8smYSKAUbzS2pLYrMFqaFsdCkV1RAWD9H33k62c15WEF4mmdewbwABfICHU93 SltSWfMmMdy/15/gtbl5qnphqKIXxET9Hg266gRcut00hB/s6O58DVH34HuEyl1vk3XD 1v3iRdM1olw0wo9CZjAROl04LI6G/vPHYBwChYHtLgqGdAbabNdMaxubype7F/aL41V6 yIk2d1QXfzJz21Vo5WfNQZBsy9BQ4v3Ep3ZLbQxGRE/9RwocFmV14sp51laZ+qf9zrZ3 8/16zMgiVdHhiB0C9REbs0fAzcYwA2SZTgSx6ryPRLgt7OfWTtfx+TToL8xHDu1/PaPA 42YQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=xRFc2u3d; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id ks8-20020a170906f84800b0099d965895e1si7379271ejb.893.2023.09.05.00.36.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Sep 2023 00:36:46 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=xRFc2u3d; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id ABE4C3857838 for ; Tue, 5 Sep 2023 07:36:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ABE4C3857838 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1693899404; bh=96qOuaVjoDDrH9bxkFUbuwsq68Fh3el+JhafnpPF3i4=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=xRFc2u3d26dRjAsHql/mxIpU0CW1JEJnsCn64aDTzDBcVhKOlWEBBPzJRxFA/znJv +5aG1xWHzgIdc7Gh18d8zZUYuFgw9PIPIcuHUaOW4liVfXqg/p0nXclUKWvgrWvwSm 179Z1bpGV1EH0xUbtZK/Dr0/OAqFpDlGkbqdHINU= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 38FF63858D32 for ; Tue, 5 Sep 2023 07:36:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 38FF63858D32 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-489-d92Q5ja9Oviv8j4-2ZwHIQ-1; Tue, 05 Sep 2023 03:35:59 -0400 X-MC-Unique: d92Q5ja9Oviv8j4-2ZwHIQ-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 7F2E8949A6E for ; Tue, 5 Sep 2023 07:35:59 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.45.224.16]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 43C7E493110 for ; Tue, 5 Sep 2023 07:35:59 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.17.1/8.17.1) with ESMTPS id 3857ZvnS2877336 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Tue, 5 Sep 2023 09:35:57 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 3857Zvvp2877335 for gcc-patches@gcc.gnu.org; Tue, 5 Sep 2023 09:35:57 +0200 Date: Tue, 5 Sep 2023 09:35:57 +0200 To: gcc-patches@gcc.gnu.org Subject: [committed] tree-ssa-tail-merge: Fix a comment typo Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Jakub Jelinek via Gcc-patches From: Jakub Jelinek Reply-To: Jakub Jelinek Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776182263879254205 X-GMAIL-MSGID: 1776182263879254205 Hi! I've noticed a typo in a comment, fixed thusly. Committed to trunk as obvious. 2023-09-05 Jakub Jelinek * tree-ssa-tail-merge.cc (replace_block_by): Fix a comment typo: avreage -> average. Jakub --- gcc/tree-ssa-tail-merge.cc.jj 2023-07-11 13:40:40.253431941 +0200 +++ gcc/tree-ssa-tail-merge.cc 2023-09-04 22:46:50.035269079 +0200 @@ -1605,7 +1605,7 @@ replace_block_by (basic_block bb1, basic /* If probabilities are same, we are done. If counts are nonzero we can distribute accordingly. In remaining - cases just avreage the values and hope for the best. */ + cases just average the values and hope for the best. */ e2->probability = e1->probability.combine_with_count (bb1->count, e2->probability, bb2->count); }