Message ID | 20230912130254.1658075-1-pan2.li@intel.com |
---|---|
State | Unresolved |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9ecd:0:b0:3f2:4152:657d with SMTP id t13csp390310vqx; Tue, 12 Sep 2023 06:04:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFcNjmkcKYPb++haJCYUCCU/aK+sLpF1HHgnxY0dvhVj+vsPjgzU8wWGbe39v4a9HuK1m8n X-Received: by 2002:a17:906:8475:b0:9a2:86a:f9b8 with SMTP id hx21-20020a170906847500b009a2086af9b8mr10199944ejc.60.1694523873951; Tue, 12 Sep 2023 06:04:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694523873; cv=none; d=google.com; s=arc-20160816; b=Wqaq1iokJUbtd+fqB1buV2BMUxMfSWQ1Q7+fKqjUieuFvzk2FxLcvgpcWPvwQl0rXV /xH9GWTAhwYcNOV2UwbxR3EgZ8lnGImECMwEAoFj1qJh6u6sZzOhPsXQbQEZHpIQXVIX s6p7+AwcyP8e6+piBDv9P5pdVfDvvz7SbYy2AxEyIpSw63hyM+1vijzuNeegscL+oFuy 80gN4GfEmCytCERWwEK049SsdaWFXgJ8eO89P7J+HQzr3GwwRpFBXaxm5lJgPDGQJ5xa czfRAF3pulxLSSIeLAUZvHPZJ7iu81kGLezkh0KERrCRPdjmDTVGG8cwuRZW3QQi78Dz +ahw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:reply-to:from:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:to :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=Zjne4YKGXCLnkZClTmmFMt5Q73DdQvMyVxx/vTPqzqY=; fh=SYenphyxW+C6B2iXrM3VHq8IUoJmB8HrI5Y/2XKXn00=; b=C97qbneGQQwlTMhl5SUjHkiNRI8FzQIPY/T5jyLXFFKHcEwLor+dVtvhWIM6w+kDs4 lY9vm6Q8toKWqgrD8SKH/Eyu8+CJsJxRlUwPLv7YRdh3MuFit/BVnW4CKYiY02XDNU9p bFBMxvhD1kG9uemHihXB0rcjoCmyTTxCS+q8HI6SAjG5o3VyVUys5P16henfgWXrY1/9 kB7ja+4/UN2lAjSxB47atAG+kc9WodrdD7gq+ciapOBWzAETHilEpTK0OmQwc96LPMdH NCQvYYFy+eX5QRQErJvVSkEY32LiM5tWV4YCgCiguTUAMq2/eIYBicyCI8ygVcjXurwU 1Pkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=ltCMo+KF; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id se22-20020a170906ce5600b00974fb8ff39asi8477665ejb.580.2023.09.12.06.04.33 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 06:04:33 -0700 (PDT) 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=@gcc.gnu.org header.s=default header.b=ltCMo+KF; 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"; 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 D7A673858404 for <ouuuleilei@gmail.com>; Tue, 12 Sep 2023 13:04:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D7A673858404 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1694523872; bh=Zjne4YKGXCLnkZClTmmFMt5Q73DdQvMyVxx/vTPqzqY=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=ltCMo+KFWtUMnF4NlKHkEdeqeZG/ktd5p9v6qqMCOS4fRdslAhtBLgZLU1K6XkgLl BYoeC4fvaUMzr+d4hB3VXZb6VS79fCAl7cmubvnYIsAcWfv1URyeqNrsXJbLvfIqqK VboNR2lIs76fgMpiUEpw7xFXSAe666is/rbXs9Oc= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by sourceware.org (Postfix) with ESMTPS id 1D35B3857B98 for <gcc-patches@gcc.gnu.org>; Tue, 12 Sep 2023 13:03:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1D35B3857B98 X-IronPort-AV: E=McAfee;i="6600,9927,10831"; a="409320926" X-IronPort-AV: E=Sophos;i="6.02,139,1688454000"; d="scan'208";a="409320926" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Sep 2023 06:02:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10831"; a="743716882" X-IronPort-AV: E=Sophos;i="6.02,139,1688454000"; d="scan'208";a="743716882" Received: from shvmail03.sh.intel.com ([10.239.245.20]) by orsmga002.jf.intel.com with ESMTP; 12 Sep 2023 06:02:57 -0700 Received: from pli-ubuntu.sh.intel.com (pli-ubuntu.sh.intel.com [10.239.159.47]) by shvmail03.sh.intel.com (Postfix) with ESMTP id 4F1481005691; Tue, 12 Sep 2023 21:02:56 +0800 (CST) To: gcc-patches@gcc.gnu.org Subject: [PATCH v1] RISC-V: Remove unused structure in cost model Date: Tue, 12 Sep 2023 21:02:54 +0800 Message-Id: <20230912130254.1658075-1-pan2.li@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.1 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_MSPIKE_H3, 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 <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> From: Pan Li via Gcc-patches <gcc-patches@gcc.gnu.org> Reply-To: pan2.li@intel.com Cc: yanzhang.wang@intel.com, kito.cheng@gmail.com, juzhe.zhong@rivai.ai Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776837065844047552 X-GMAIL-MSGID: 1776837065844047552 |
Series |
[v1] RISC-V: Remove unused structure in cost model
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | warning | Git am fail log |
Commit Message
Li, Pan2 via Gcc-patches
Sept. 12, 2023, 1:02 p.m. UTC
From: Pan Li <pan2.li@intel.com> The struct range is unused, remove it. gcc/ChangeLog: * config/riscv/riscv-vector-costs.h (struct range): Removed. Signed-off-by: Pan Li <pan2.li@intel.com> --- gcc/config/riscv/riscv-vector-costs.h | 7 ------- 1 file changed, 7 deletions(-)
Comments
On 9/12/23 07:02, Pan Li via Gcc-patches wrote: > From: Pan Li <pan2.li@intel.com> > > The struct range is unused, remove it. > > gcc/ChangeLog: > > * config/riscv/riscv-vector-costs.h (struct range): Removed. OK jeff
Committed, thanks Jeff. Pan -----Original Message----- From: Jeff Law <jeffreyalaw@gmail.com> Sent: Tuesday, September 12, 2023 9:12 PM To: Li, Pan2 <pan2.li@intel.com>; gcc-patches@gcc.gnu.org Cc: Wang, Yanzhang <yanzhang.wang@intel.com>; kito.cheng@gmail.com; juzhe.zhong@rivai.ai Subject: Re: [PATCH v1] RISC-V: Remove unused structure in cost model On 9/12/23 07:02, Pan Li via Gcc-patches wrote: > From: Pan Li <pan2.li@intel.com> > > The struct range is unused, remove it. > > gcc/ChangeLog: > > * config/riscv/riscv-vector-costs.h (struct range): Removed. OK jeff
diff --git a/gcc/config/riscv/riscv-vector-costs.h b/gcc/config/riscv/riscv-vector-costs.h index 7f120b79619..7b5814a4cff 100644 --- a/gcc/config/riscv/riscv-vector-costs.h +++ b/gcc/config/riscv/riscv-vector-costs.h @@ -40,13 +40,6 @@ struct autovec_info bool end_p; }; -struct range -{ - unsigned int pt; - bool start; - unsigned int nregs; -}; - /* rvv-specific vector costs. */ class costs : public vector_costs {