From patchwork Fri Jun 23 14:15:39 2023 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: 112157 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp5805532vqr; Fri, 23 Jun 2023 07:16:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6jlyuwWsb+Kn9pDLb4prxxqTlhD8ImUCwAVybAnJERm/emVBokfazTin1QVjBgR6E/ErML X-Received: by 2002:a17:907:6ea7:b0:988:9836:3fdb with SMTP id sh39-20020a1709076ea700b0098898363fdbmr15905907ejc.11.1687529779427; Fri, 23 Jun 2023 07:16:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687529779; cv=none; d=google.com; s=arc-20160816; b=oEvyFFgZXJy7gpyBIJ3b/YZqQtqNa7nZeP29b39ET4wThDhS2iooUVR9eh1KjapWaQ rPVV4hwV6Q40oX0UKc/SfAsvit+PYa1GX6vaigb5hwycEoBzS2+uBB8IvZtvCrrFIddf e6QIHZKyZereGDgm8SMObkQW3gZ1KGs87Wt/wTfa50m5YkdJFhHwWPDGXF+a3RcwCRH2 v00va3cJDxwmTxQJn7jy5XS0m7aXMk4BIS7/0d3z1EzxO0hFghVdS+zOSjtQrXdpZYmo IANSO9NLoCsSoEGV6sDrt143DAix02jRKzDkieBP+dhMomBomD/2DX8v4KjSFqLeqm46 munQ== 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:feedback-id :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dmarc-filter:delivered-to; bh=c/UBSfMfIYw6UkmZxg6bGgKvCeI5TyZ3Qd7DK/qxsH0=; b=I3eJcSWmyLgdaXJ0Otj0XFW5eYSTSfw+F48yH2rLUxZZp1crOFv+1w0bLs/1iVVhvV Y5fCnU3jj270pAtjjKOF470dpYfrExNwJ0XPmSL5OyNxki9+tHloWhBiNcTo1iaupBM8 RuwIezPJndyb5Jy0Ep4BwTK1JPKGpJYmtBeKthcOWTX1l1Wcogu0vG9RsrwkCr0VFwFc 38pGQP7Jv7JUtdpSyZKmboLhTOKM2Lz6F0XtYh6dZfSJD3sREPWdQuvwwLicBDtP2xUa BJ7kinkqu8yn7tU4UzA/nq4rRs4IjkMoVrJ4ydDWuZ2uUXzADwrC+NsoFOMtXJxjkAO6 c+8g== ARC-Authentication-Results: i=1; mx.google.com; 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 (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id h26-20020a170906855a00b00977cc3b4091si4699569ejy.128.2023.06.23.07.16.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Jun 2023 07:16:19 -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; 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 208AE385781F for ; Fri, 23 Jun 2023 14:16:12 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtpbg150.qq.com (smtpbg150.qq.com [18.132.163.193]) by sourceware.org (Postfix) with ESMTPS id 1A8123858CD1 for ; Fri, 23 Jun 2023 14:15:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1A8123858CD1 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rivai.ai Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rivai.ai X-QQ-mid: bizesmtp85t1687529742tup73lw4 Received: from rios-cad5.localdomain ( [58.60.1.11]) by bizesmtp.qq.com (ESMTP) with id ; Fri, 23 Jun 2023 22:15:40 +0800 (CST) X-QQ-SSF: 01400000000000G0S000000A0001000 X-QQ-FEAT: UCO5VR5DCxfIdq/SQw+Xmx2zsCEuKfl0U4ZObbDZp0l26ssOO6pdR1AnoJehJ xUo3dcsXd74TDtPSOD+R4nWg9bNUWWhxmiqlAI5m/KXcdlq9Co4cutgUqlBagmaRwOvmtV9 Ho9L9YboZhn6RDkdCaT1pvKPJSxArI9noWuFkmG0XYksPqtPgqxMdTnvQ3SgeX6L6aULy3v hKy7i9hjKJbLtWvyDv4dLjfkcCeXy1a8p+oUn5mq1lptUzbhpR9wZ0G4XdwEslf4nuA1YQz /M7qZqXBpP7glJR5iWqRDY4O8FUwhlIUchqDV0mgu8lfWtbqEbF4UxxrHGJzn9TIEHFEZiI vF4f7ellQDX8+oqNy8CsYvOHE3FfD1yu5PrrU7EA9CO3NxGhvUKrKTbTZNAKuQzhcrY+DqC xZwg8jcYXlo= X-QQ-GoodBg: 2 X-BIZMAIL-ID: 10429543107141417409 From: juzhe.zhong@rivai.ai To: gcc-patches@gcc.gnu.org Cc: rguenther@suse.de, richard.sandiford@arm.com, Ju-Zhe Zhong Subject: [PATCH] SSA ALIAS: Apply LEN_MASK_STORE to 'ref_maybe_used_by_call_p_1' Date: Fri, 23 Jun 2023 22:15:39 +0800 Message-Id: <20230623141539.4165425-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_H2, SPF_HELO_PASS, 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: , 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?1769503225933235346?= X-GMAIL-MSGID: =?utf-8?q?1769503225933235346?= From: Ju-Zhe Zhong gcc/ChangeLog: * tree-ssa-alias.cc (call_may_clobber_ref_p_1): Add LEN_MASK_STORE. --- gcc/tree-ssa-alias.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/tree-ssa-alias.cc b/gcc/tree-ssa-alias.cc index 92dc1bb9987..f31fd042c2a 100644 --- a/gcc/tree-ssa-alias.cc +++ b/gcc/tree-ssa-alias.cc @@ -3070,6 +3070,7 @@ call_may_clobber_ref_p_1 (gcall *call, ao_ref *ref, bool tbaa_p) return false; case IFN_MASK_STORE: case IFN_LEN_STORE: + case IFN_LEN_MASK_STORE: case IFN_MASK_STORE_LANES: { tree rhs = gimple_call_arg (call,