From patchwork Wed Nov 22 03:16:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Andrew Pinski (QUIC)" X-Patchwork-Id: 168076 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2b07:b0:403:3b70:6f57 with SMTP id io7csp1069848vqb; Tue, 21 Nov 2023 19:17:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IF5nfXbi7+NvOteRTVQj4SD5hTd/VyLd9P1dVQQbdd7Bh1sW7r/nfd/smMVR0lBzVW0ANMo X-Received: by 2002:a05:620a:1492:b0:76d:a0a4:fe9b with SMTP id w18-20020a05620a149200b0076da0a4fe9bmr952797qkj.55.1700623051542; Tue, 21 Nov 2023 19:17:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1700623051; cv=pass; d=google.com; s=arc-20160816; b=RpZbuvk/L8dO0up8RBlwhV90r1FEiHRft8ijZym6N778q233gmfTw0YMWL2unGoGeX +YlltE5r3xpqNUsV69I8zfpL3kHTuIgyinLqWlZSpb+R4AgvQPT9gUF1mKUvtPdwNs1K lB2YxiHwjh2/4pqpBn4KE5FyETFgdPVaRanZmajVIuy/CQCD9ApvL9s+8fbcmldL4Ae4 njq/nmoDhCWMhj9d+Fndq3dsERDUGnjImmZDbMibDdF1DzOBGuz4yMHwAy/jRlLSA8dV caDq9gJ9VM+YXEKrpfTamcqsY8cqLYED1PphqwFuraHQp8NZLm3J+K66Gjbjf3jATsgX In0A== 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:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=NTNdMSWn0SUHgj69oIdBFh0PnQVdhVwvp7+d0qezSkg=; fh=QfPL2cbd0kOXbaxXqYk0okI7FC44TFo3VuNbeSuJNQk=; b=WHAWOUNctV5qkv1eCkEf/dZYYT92VsvZHvCQipzaQHFwMxze3nOcty9qUP1c4g+E3t 1XBekeqnZ9ntFtKRTnohgkplOORtBrJZ2YijHAWzhCbKrdfnP5lUdwX07oiwH33IVtsP z38xljt3nHidWTc4DFle+P0qFoNk6WfWZIGKPSv/wz09K6OFKdvVoC2Hg8R6+QsZlXXb SxPUHsvuBst/qvrkD6PAJVbK0pvt8b2TMG8axtUA55unpRmwtT77Z2ZXdMYpDT9v9pz8 F134mFwpHKQT3QXXtzR9Cs7JqRUq/is35P1l4d2X5qIPzIab0FbnWowmliLc8ZTbVOhj kL3A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=hzviWB3w; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id o4-20020a05620a0d4400b007759bdaeae5si10261992qkl.94.2023.11.21.19.17.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 19:17:31 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=hzviWB3w; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 415133858C35 for ; Wed, 22 Nov 2023 03:17:31 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by sourceware.org (Postfix) with ESMTPS id 4D7F93858D33 for ; Wed, 22 Nov 2023 03:17:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4D7F93858D33 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=quicinc.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 4D7F93858D33 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700623028; cv=none; b=gJSvepbr48CvFjY369OI0h175qiV9lYU6B8RoBp94W4M1E5MgWBYJG1/O7nYryUniCGbZQmRbL6FeNMw+AW9QLviVJ+MCC6LPLgrF62ntBzBvjzGbriau2Zs6Fm0aGPbGmVGI7wlcRoMdD+twyJr/g4eVPaiZFfspt6JD38U6D8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700623028; c=relaxed/simple; bh=gBdzArSYUt52q3XNz4AXCMitK/uURf5RWkgjBoaifW0=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=lVhkBG0ktlbLy9fNxl4YVE84mOmgGgCDB4gFdefGmfWojLJgEF5xXVpAz/EbIpGsdZcWAYx3l0vWAEcQx0JATswbRR+rYXuvOSz1epFbH+YrfnMmCegZU6rJNY0DVHsEtiZOSCfimFCoUcMLgSB8ML40c5ElNJdq8hJnF0Y1tLM= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AM1bkHq010368 for ; Wed, 22 Nov 2023 03:17:06 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=NTNdMSWn0SUHgj69oIdBFh0PnQVdhVwvp7+d0qezSkg=; b=hzviWB3wmPtu4PaZU2vdMeu5Oc4vr2ITcZ/TuQGOz6E7RQ8jFhsWiLhZdaprVtKWoxqh KdzPDE+N2ko0rwacMNNldgTzNkt1tORtg9Mx8gPT7GsL6QLi0hocPsWiZTRMBP2UgMN3 WmMf8cXpcFtw3vP+yk9KIi7W27KOwGXQRKw1hPzx89UV3ml95mKp5y1YZr3zyBKcBYQf 1s69JT6NihoYQxTsGDAy0xWPqnCyqmfAL2UpfIvFSSUEyn6iJICtzMU+w5ngV3YR32e0 vjCaf5BujjYcULa3F8Ddmjyesq9tKTNeYjFUPpSbabjK6w8gxWhdTcAjaFxWxF4Pdhvo eA== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ugyb49cj4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 22 Nov 2023 03:17:05 +0000 Received: from nasanex01c.na.qualcomm.com (nasanex01c.na.qualcomm.com [10.45.79.139]) by NASANPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3AM3H555013409 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 22 Nov 2023 03:17:05 GMT Received: from hu-apinski-lv.qualcomm.com (10.49.16.6) by nasanex01c.na.qualcomm.com (10.45.79.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Tue, 21 Nov 2023 19:17:04 -0800 From: Andrew Pinski To: , Subject: [PATCH] Fix gcc.target/aarch64/movk.c testcase after IPA-VRP improvement for return values Date: Tue, 21 Nov 2023 19:16:52 -0800 Message-ID: <20231122031652.3403525-1-quic_apinski@quicinc.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01a.na.qualcomm.com (10.47.209.196) To nasanex01c.na.qualcomm.com (10.45.79.139) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: IRDVNsdxRlnN3SiZnp39JDSgLNktzy12 X-Proofpoint-ORIG-GUID: IRDVNsdxRlnN3SiZnp39JDSgLNktzy12 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-21_16,2023-11-21_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 mlxscore=0 priorityscore=1501 bulkscore=0 suspectscore=0 mlxlogscore=443 malwarescore=0 adultscore=0 spamscore=0 phishscore=0 lowpriorityscore=0 clxscore=1011 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311220021 X-Spam-Status: No, score=-13.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_LOW, 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.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: 1783232516678373179 X-GMAIL-MSGID: 1783232516678373179 This fixes the testcase. gcc/testsuite/ChangeLog: * gcc.target/aarch64/movk.c: Add noipa on dummy_number_generator and remove -fno-inline option. Signed-off-by: Andrew Pinski --- gcc/testsuite/gcc.target/aarch64/movk.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/aarch64/movk.c b/gcc/testsuite/gcc.target/aarch64/movk.c index e6e4e3a8961..1fa11540c6c 100644 --- a/gcc/testsuite/gcc.target/aarch64/movk.c +++ b/gcc/testsuite/gcc.target/aarch64/movk.c @@ -1,8 +1,11 @@ /* { dg-do run } */ -/* { dg-options "-O2 --save-temps -fno-inline" } */ +/* { dg-options "-O2 --save-temps" } */ extern void abort (void); +/* Note GCC can optimize this to -346565474575675 even without inlining so + mark it for noipa. */ +[[gnu::noipa]] long long int dummy_number_generator () {