From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com [IPv6:2607:f8b0:4864:20::72c]) by sourceware.org (Postfix) with ESMTPS id 1C72B385696E for ; Tue, 21 Jun 2022 12:08:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1C72B385696E Received: by mail-qk1-x72c.google.com with SMTP id d23so9846594qke.0 for ; Tue, 21 Jun 2022 05:08:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=4tKNhRo8THSZvHOejMU0bfvWFfG9RfGWccreihboGNY=; b=dUly5WbtfSoOm+GIvijUFE2G4CvTf7qIenYFdrzda6RcycL4N95CCY7HQrfFe+NgzI hAIVHEpXBKkw0qdf4fj1lxhKhsCXZvH6XRax7yYyVq8oW9jvPCCiWuTic6o9q8fcHUjk MkeGYGjIo0iSmETidrviX2ohH+KL86hwU5LThrjM0rI163DpImA72CVOFalFe0ymg8fj LeeNBd7Igjqh2CQ5UPiNmiNuaOM6W8HMSqmh2oR2gME0l1blk+cZV98mI6aTiWB4ywUG sXl8KhyM84gMIN+cP1JhbB6s3A9WYcqgYdMdZOYoRS79+paLaMSwvVqW/0NYBKYF5xPW OpcA== X-Gm-Message-State: AJIora9jefItbpTfgHegW/6vQLrp7gzmxlIg6meUye127E4yhrZNUGbo szJpExQyZVsJJg04t6yjM7NwBWo1GjJWgLzoIzfUW1QK X-Google-Smtp-Source: AGRyM1vYu7TPKYqsCfQg0PSB+JIMa3PjJ+xRlk1L3ine2ZLYAf94aATue0EBc29nke0tfkU8IwP278qo4pTrZ8OjeYo= X-Received: by 2002:a05:620a:1911:b0:6a6:e8e9:70cd with SMTP id bj17-20020a05620a191100b006a6e8e970cdmr19193962qkb.627.1655813326093; Tue, 21 Jun 2022 05:08:46 -0700 (PDT) MIME-Version: 1.0 References: <075c4f80-dc52-0537-f7c4-1b6bbc505000@gmail.com> In-Reply-To: <075c4f80-dc52-0537-f7c4-1b6bbc505000@gmail.com> From: Richard Biener Date: Tue, 21 Jun 2022 14:08:25 +0200 Message-ID: Subject: Re: [PATCH] if-to-switch: Don't skip the first condition bb when find_conditions in if-to-switch [PR105740] To: Xionghu Luo Cc: gcc-patches Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, BODY_8BITS, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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: , X-List-Received-Date: Tue, 21 Jun 2022 12:08:48 -0000 On Tue, Jun 21, 2022 at 12:05 PM Xionghu Luo wrote= : > > > > On 2022/6/21 15:33, Richard Biener via Gcc-patches wrote: > > On Tue, Jun 21, 2022 at 5:06 AM xionghuluo(=E7=BD=97=E9=9B=84=E8=99=8E)= via Gcc-patches > > wrote: > >> > >> > >> Bootstrap and regression tested pass on x86_64-linux-gnu, OK for maste= r? > > > > OK if you add a comment that an empty conditions_in_bbs indicates we ar= e > > processing the first basic-block (that's not obvious to me). > > > > > Thanks. Committed in r13-1184, I assume this doesn't need backport? No, it's not a regression. Richard. > Thanks, > Xionghu