From patchwork Tue Jan 16 06:52:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "juzhe.zhong@rivai.ai" X-Patchwork-Id: 188430 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:42cf:b0:101:a8e8:374 with SMTP id q15csp87104dye; Mon, 15 Jan 2024 22:53:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IGabf6hUSsW4ZKNSkREYrRK56KftHnGpFT6Huslxh/C7lmZAjYAcJljPX4fiqIHuKARGW/N X-Received: by 2002:a05:620a:210e:b0:783:3cb6:1c0a with SMTP id l14-20020a05620a210e00b007833cb61c0amr8472394qkl.18.1705387992593; Mon, 15 Jan 2024 22:53:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705387992; cv=pass; d=google.com; s=arc-20160816; b=OgCzsbxVrmijR8PN4TxNt73rzB+A4eC4gpbM6LPjFSNbfOGYQ691J5s+uLb5ujHywF YXKGpemWjcJkhwrPWtRjwcQOfnmSlPzhDHFZtvPKqLeuamNSi3hS83IozcGij6zbkTom +h5zCGQM9FJ33yNyiOm/fBTnP72TBZ4qt6EOKh4NY6yzAUKpzkt0PF8geptuqPRgw/Ks r2NltCc94syBYf9H4NFRcRs4fbJgmzrlnuQMF0lEbdjVPI8vc3EUlnBdwiF9BrR76M4O /jwq42YplbDbyNu8Yras3Fnbhic7A4usD4RS+BhP/lWshsNc8WtM3nLZWYKAP7WYy7/g leMg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:feedback-id :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:arc-filter:dmarc-filter:delivered-to; bh=HP4ubn2cP2FKIHqFWqz504WpjrBoKiv3UcStapv6e+E=; fh=4+tjVDXL88gFeAtSPcTPJm570T4+kmaJtdz55adY1yQ=; b=zqywuGm7qh2FcHAEO7DF5xifPGDT1wYgFavsOLwT5B1dQw3LBdxeKLPKHI3L+ykGXz Wbw5OkjbtNE7Em5RoVjFIHPa6TePz7lewn5YVSy0jX2GcnoyzSEpIeEm/+KGNwNqPReh 9rxRJ0gVXYBo3li4x+Jvpi2Gv+P3OUVZQZ+Zcqw1OmHIwpTuyMrB62f/BCxZLUVNyq0n zoPnwtUAWBaQNThyoQzFLyntDc8s7btRPQin9njx2H4+np8aXe+CEBqGNIAtTKFKIx0y Fmh/UME2y2vwf45U5p+BsSLNOehktEWYNY1CASgqU6KMmb7rTsUVQvrLoGMr8yfMfzYu 1AbA== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); 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 (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id a5-20020a05620a02e500b007834a68cf43si7185746qko.326.2024.01.15.22.53.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 22:53:12 -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; arc=pass (i=1); 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 A90A83858426 for ; Tue, 16 Jan 2024 06:53:10 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtpbgeu2.qq.com (smtpbgeu2.qq.com [18.194.254.142]) by sourceware.org (Postfix) with ESMTPS id B71303858D1E for ; Tue, 16 Jan 2024 06:52:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B71303858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rivai.ai Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rivai.ai ARC-Filter: OpenARC Filter v1.0.0 sourceware.org B71303858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=18.194.254.142 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705387953; cv=none; b=e+sUNVw3Y6689ygyPsYPKYuPxj0tXgrmOyT1HdBiwZeNsXhXHI28m251KxEBnDbGB8cGYc3CKBgy9/BkjUmBbmuFx7o9Tx5b0Zm3pHF9UojMQFCHhbukfU0hJad2Y/EpY5TO1hKnaGjfPWYK63RpeDANrwhfEfpp8bC6jz95ksY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705387953; c=relaxed/simple; bh=kl6yfh3RGUmzpNNduXnyGBlC/ciJ05XLhAIlfjmY6L0=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=mKhUg5sEKSGgf+50PK/gGAUWempDE/VxNhJ+xmKNWZBkJyKb31iVUMckl+3VLDrTuCbF2XhUtklZjXQZIBtC5LWGQquvfIfBzykVGUFNpszrHMfATxJAQEJvhCRgN+9SDlYB3LYJx0sQtWK0GacKoOL0gKKVoBnhN7DGlfzUSi8= ARC-Authentication-Results: i=1; server2.sourceware.org X-QQ-mid: bizesmtp66t1705387940tkc4wder X-QQ-Originating-IP: QfEydhvpsRm4BRCYhc7qR5a+nABe3a+dvB0jyzSN9+4= Received: from rios-cad121.hadoop.rioslab.org ( [58.60.1.9]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 16 Jan 2024 14:52:18 +0800 (CST) X-QQ-SSF: 01400000000000G0V000000A0000000 X-QQ-FEAT: +ynUkgUhZJluZnCsWKcC9ATFbur+WzoJBDlE2eR0cHKf/mzY1whbD2BnuZubu aor12Mxx5DoLE496uWV6PvCdxnK0CpB0/BVSmGMeLxKpXZoKoKxNTVzh/hOR1jxknuIu8R2 POb8heTiJqu5ZLgi6MVUZL9DiFyZnq6Svb4J0wGgoRf05jWKaE4U148Bvu313KxVF3qVOkq i2LlpEJvkEHT67VMOP1qpwGpkh/bdScF40pPqOjXZo7P+I5omuy6tq4wPXFRWTLV+okDWvD BQ842CjXE6HsN8zuewbrWT9AK7xnXWuDBN4nqsFExiYcHV3wkuCaT8hZp9Q9wfLLLabyurY hfVev2XVDda2FnpHV93pWgCJUb5rQn1FvssW146p59BFZPytOCb995yMSE+B1tTD2POx6Ws bchuB9/SFlY= X-QQ-GoodBg: 2 X-BIZMAIL-ID: 13607881554305076865 From: Juzhe-Zhong To: gcc-patches@gcc.gnu.org Cc: rguenther@suse.de, pinskia@gmail.com, Juzhe-Zhong Subject: [PATCH] test regression fix: Remove xfail for variable length targets of bb-slp-subgroups-3.c Date: Tue, 16 Jan 2024 14:52:16 +0800 Message-Id: <20240116065216.3834327-1-juzhe.zhong@rivai.ai> X-Mailer: git-send-email 2.36.3 MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:rivai.ai:qybglogicsvrgz:qybglogicsvrgz7a-one-0 X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE, T_SPF_HELO_TEMPERROR 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: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788228920185378647 X-GMAIL-MSGID: 1788228920185378647 Notice there is a regression recently: XPASS: gcc.dg/vect/bb-slp-subgroups-3.c -flto -ffat-lto-objects scan-tree-dump-times slp2 "optimized: basic block" 2 XPASS: gcc.dg/vect/bb-slp-subgroups-3.c scan-tree-dump-times slp2 "optimized: basic block" 2 Checked on both ARM SVE an RVV: https://godbolt.org/z/jz4cYbqc8 "optimized: basic block" appears twice. I guess ARM SVE has the same XPASS as RVV. Hi, Andrew. Could you confirm about it ? gcc/testsuite/ChangeLog: * gcc.dg/vect/bb-slp-subgroups-3.c: Remove XFAIL of variable length. --- gcc/testsuite/gcc.dg/vect/bb-slp-subgroups-3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-subgroups-3.c b/gcc/testsuite/gcc.dg/vect/bb-slp-subgroups-3.c index fb719915db7..3f0d45ce4a1 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-subgroups-3.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-subgroups-3.c @@ -42,7 +42,7 @@ main (int argc, char **argv) /* Because we disable the cost model, targets with variable-length vectors can end up vectorizing the store to a[0..7] on its own. With the cost model we do something sensible. */ -/* { dg-final { scan-tree-dump-times "optimized: basic block" 2 "slp2" { target { ! amdgcn-*-* } xfail vect_variable_length } } } */ +/* { dg-final { scan-tree-dump-times "optimized: basic block" 2 "slp2" { target { ! amdgcn-*-* } } } } */ /* amdgcn can do this in one vector. */ /* { dg-final { scan-tree-dump-times "optimized: basic block" 1 "slp2" { target amdgcn-*-* } } } */