From patchwork Tue Nov 22 23:24:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Law X-Patchwork-Id: 24628 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2490365wrr; Tue, 22 Nov 2022 15:25:09 -0800 (PST) X-Google-Smtp-Source: AA0mqf5DQLaH34UEGSsWTzpjYz5MZXBJ2lnW3sHVrtwbM3vrcj9gvXOPwBPCii1jrsYIxPJU4bLX X-Received: by 2002:a17:907:c20d:b0:7b8:882d:43fc with SMTP id ti13-20020a170907c20d00b007b8882d43fcmr4319051ejc.0.1669159508375; Tue, 22 Nov 2022 15:25:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669159508; cv=none; d=google.com; s=arc-20160816; b=hRMdpUnnSIDhbflxRZWcOEIB+D43JPx2XNXHTCSgrDRaKf4qrkxhVd8iWAlgQU9gAD 1HgvLfHq4f8UDt/9yUdUjLc7uIi4/wV9kCqkgVHz+5zajXg6Wqw8VIeU4eOhfkRm5cg7 Qr0SDGT8cO0630u1/GutwRVKgAaZcMAfyt6RVcWDE9nsgkFNxAXc5nJx1vCedGKogEsO QPklMN2ktaVZhhZrDyUaDNahBt5M1j9H47DDFRMh6/RLlqdUWLhU/imUvWXxUO1PypeW Dzap1wgGsOi4KDW5pC5sHuaht2cbA2gUnDHgr8zzx3oL55xjmhMMGV88Ld4S/rA7sI5O yBSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:from:to :content-language:user-agent:mime-version:date:message-id :dkim-signature:dmarc-filter:delivered-to; bh=zrAp5+dlFvxk+6ATT8HGxw+EiAyiGoglr/wOcA+H+0w=; b=DyszIhw1wQE3QjnTSsg7iN9wqvPq4tQiX1xwHEDIoepke5jTZwlM839P/1+dS3zYwO Vq4Y4vAsczHdT41KpKQaHma9Nbd0bZUJkNK+JaEPoX0V1HhURlGpL0kJcgCOl3enfskT 3Yjhc+YA6Q85M9eJ64XAoUtMy2V0VZmg7W9PDlQtu29EldZ+gHtuyLbfZ8OSJyAKfKJo FkEysUeg58IAfGgj0jd21eAVRBcTNWjlJfnysTBcF0xU1yJawFqcpxdhG5u3dKm+xlab THQOo6pTg8SlS14/mjwnnCzZKq2LICdJrN/ssr2IFMwEDcTeasOhJIWHK576xX5uxB3A urnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=P7tL+wZa; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id y14-20020a056402358e00b00461bbc0f917si3830584edc.605.2022.11.22.15.25.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Nov 2022 15:25:08 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=P7tL+wZa; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 2C7A9385456C for ; Tue, 22 Nov 2022 23:25:06 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) by sourceware.org (Postfix) with ESMTPS id 658843854555 for ; Tue, 22 Nov 2022 23:24:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 658843854555 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=ventanamicro.com Received: by mail-pf1-x42d.google.com with SMTP id y13so15775608pfp.7 for ; Tue, 22 Nov 2022 15:24:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=zrAp5+dlFvxk+6ATT8HGxw+EiAyiGoglr/wOcA+H+0w=; b=P7tL+wZa4c1VNgcg5TJTXofARTSVhSeQ749PuA3FVH1t4z3QCi7/k0qZban0/QN5/3 PIYqZBq0FIoqbR4y2LEZcSpNYWJSFPVG6/Yxc+Vt6ZzGm3CySCKWPS+nUvWoPzxoDPHE vkvL27EJiMLbfxwJdmCXRYCY4DetISZ1sKf/4JG8aUB9k0brcuMX9sf/PJT7East2/H3 xmcRUADiURJZFBqFVgjIc/6f3jvxKviab11FdBetj+s4QF7Y5vBPH4y9mAND2Af8V7z7 lopylpTd29Q2ad4gh/aWEPPZrk7p2AxGEbA9F+g1ERjvKWMsPd/h9G77a3ivNnwjmN8i 5TPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zrAp5+dlFvxk+6ATT8HGxw+EiAyiGoglr/wOcA+H+0w=; b=gppadY9sM6nqmOLQO062vJdkhx2GbzBNWc8/XS/fvj6qAb4F41pD382bbFCP38KNXS mL/ICEYgepzTDl7ykrpyqwXzG9T+UStrd5b41etUxVKW4FWb5mA2WqM+ROlUgp7ObGgN BQkXh2FvCiDD+UAMOfeYnICt9LfkhchjWdWkdEalSNDbZJA19wk4S1+UKQ1u/yDeoPrx s24gJfeRbUkP75zLDfGF/6kXw3GJtef9EJP15ddMYF+UZ8vAxiyfVbFZ6asueb1uc4Af jJIgUrfYS88ls0tVDANHPTJLiwo0Lc/2gWwwRkxskPm7kkxM+s4NSJR7yOS0cRYlXrAl XClg== X-Gm-Message-State: ANoB5pmWCS2OTuExetooaH7H6c9ZDzpp/nlxJ4sYH+5sp2YaaQ3Pe0QH 1FxYFSXE9qihUaqi+N+0Jpvpq+F19C3RRQ== X-Received: by 2002:a62:4e96:0:b0:56d:a89d:fb9b with SMTP id c144-20020a624e96000000b0056da89dfb9bmr7296902pfb.24.1669159478235; Tue, 22 Nov 2022 15:24:38 -0800 (PST) Received: from ?IPV6:2601:681:8600:13d0::99f? ([2601:681:8600:13d0::99f]) by smtp.gmail.com with ESMTPSA id n14-20020a170902d2ce00b00188ef3ea2b6sm12600486plc.262.2022.11.22.15.24.37 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 22 Nov 2022 15:24:37 -0800 (PST) Message-ID: Date: Tue, 22 Nov 2022 16:24:36 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Content-Language: en-US To: "gcc-patches@gcc.gnu.org" From: Jeff Law Subject: [committed] Fix comment typos noticed by Bernhard X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, 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.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750240600578365341?= X-GMAIL-MSGID: =?utf-8?q?1750240600578365341?= Minor comment typo fixes as noticed by Bernhard. Installed onto the trunk, Jeff commit a03b35a28db262546415e8f16829cbb027a75025 Author: Jeff Law Date: Tue Nov 22 16:22:18 2022 -0700 Fix comment typos noticed by Bernhard gcc/ * tree-ssa-dom.cc (record_edge_info): Fix comment typos. diff --git a/gcc/tree-ssa-dom.cc b/gcc/tree-ssa-dom.cc index c7f095d79fc..e82f4f73a66 100644 --- a/gcc/tree-ssa-dom.cc +++ b/gcc/tree-ssa-dom.cc @@ -673,10 +673,10 @@ record_edge_info (basic_block bb) { /* At this point we know the exit condition is loop invariant. The only way to get out of the loop is - if never traverses the backedge to begin with. This - implies that any PHI nodes create equivalances we can - attach to the loop exit edge. */ - int alternative + if it never traverses the backedge to begin with. This + implies that any PHI nodes create equivalances that we + can attach to the loop exit edge. */ + int bool = (EDGE_PRED (bb, 0)->flags & EDGE_DFS_BACK) ? 1 : 0; gphi_iterator gsi;