From patchwork Mon Nov 27 22:58:18 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: 170495 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp3522576vqx; Mon, 27 Nov 2023 14:58:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IGynx4O8DnfSknbVNobVMtR3x0HgTlZ9f+wZSdnBNVrzha3vicysWvgK92i4Ya+m5oBapgE X-Received: by 2002:a05:622a:109:b0:423:75a2:3318 with SMTP id u9-20020a05622a010900b0042375a23318mr13310739qtw.38.1701125935732; Mon, 27 Nov 2023 14:58:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701125935; cv=pass; d=google.com; s=arc-20160816; b=gK0dhgb83deHzGR93saeTepivHDt3kEfTfJfHbPdgTv0QL5ZzwBQVSF5dKh4tEGON0 HTCnHsDrb39lrWRyJbVvsb+yAMy5kPP/Zvr3ZJyKCMJH6SJTbqdNQxLRs4uTVUh3eV6K IS2E7UU42sYYQx8XDQ6E3kuSMqKT8+SeyBQNXz5jwGIloAb4yqG6lsBfAdDmjWrelymk EYmRJYQ2YbrlBODgv+yWJSSTaEj/fezT3YJN6/swP8jeEo5VH4Doz2H0VVbw6s6jkPE4 Zj1A7eVHpEASebgafa2/Af64iXXynvxxrYHDNbG4haeYyWzi5/NFyxoqmonc8rEsNEWT Y3Zw== 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=SyVIP2qcrT8FAcuU993mMQ1wwqEpjLlETNLIZvq7TlA=; fh=gk9A5O7Gbglvz1MjrRQ4hZ2i3c68kYkpOZJg1emXh+g=; b=xrOMfY/WF/Sfzd+bk9Ik139lBmi1opeyJ8CbjMLKyFXRiqRKfBZBLkHOEXvIWsepwc xoYhKC1FWtkId1DPakGhSGuVwa+yGc6leRGMbJKTT9rPky+IYdOMioxr1Y2JsCE8jlvQ VsgpZOxs/bjozTrfdp6xqDraaAZ08yBkYYo9ZXc/Ax1+gO7fnel9YVts2K4My8wARCo9 I2bxVapNtT7Kfh3mR3yJRTs9/08gQkamOachZptZ4b3usk5YAFJJIUxKRRQiLfHY/Ahg rPKsdJhrGKXpqBbSA4vRq7DugFGQ4XAL4HhaipPcq6QeTRM7t7Gj9UD24K/VoPHH3r0z 6eoA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=WO+anu0v; 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 y8-20020a05622a004800b0041983be87b9si10093164qtw.629.2023.11.27.14.58.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 14:58:55 -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=WO+anu0v; 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 812B63857BBD for ; Mon, 27 Nov 2023 22:58:55 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by sourceware.org (Postfix) with ESMTPS id BE2363858C2D for ; Mon, 27 Nov 2023 22:58:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BE2363858C2D 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 BE2363858C2D Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701125913; cv=none; b=a5yeUf3iKSCOz1lQ9452JMmzFQK2bJgfBrN7qs8nZDNe7rSM7fO+PXQt4F5msKVQzMTT8n+lT2CsJul1nCBUWih815hCc1R5Z4dj6Ym0B4wOBdRZu3fCjboHztPwctVd+K7vnDRKNNf47an3YrCBAT/R/GURF/ZwDsZI59jcOBw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701125913; c=relaxed/simple; bh=z1QcldkqgCtQtlt+WaWUL1ykA1cBtGB3Y39Co0HneEo=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=W1JUXhqmlle4Ym+Ul0H7f3cQ8h06UyWGbwayw6yfBgpWAl1wz1gaFOZuE5/rIYaPggHFjYEjm9sdlGAlEWwMO8GxLC5ljbczvRO5Rn3pTsXXXngOrEf0jeuLJEEH20oHJdSUeRoKL+KVX1VEU5O+EKw4R5IUVECBo9mLZKZ+rh0= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3ARMhwDO001206 for ; Mon, 27 Nov 2023 22:58:31 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=SyVIP2qcrT8FAcuU993mMQ1wwqEpjLlETNLIZvq7TlA=; b=WO+anu0vLwOXZ5WAx8IMSnnppdt17AOXT9TfMLGGcD5/sCInFV1ZJluO+5EBaQQQXvz5 3nqH0BLl65QssBTrSkXNFvTf0z0H0logCp9g0+A8Kbn8NrLVT1S0IApVQY3K2Q1TmMRW xIEwzrvIqk9kVxsN8lg95POiF7prB+hOyqj0LRcHxDebgdCGFMJr7NZ0uhdlFl3nwa1M tl12qJ4qHX5sC/ON1nf2gJycms+Z5Fh9qGE//WjhY04aV+UQPpewsIqVN7VaKCfM4glZ 8HqoXTFfZIUnnagVXn8makFldxCk655ErRecNoxwt+1H0/a2r/7uS2fa8kmSO6xgAnQG uA== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3uk7xmdtyt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 27 Nov 2023 22:58:30 +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 3ARMwTwf019525 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 27 Nov 2023 22:58:29 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; Mon, 27 Nov 2023 14:58:29 -0800 From: Andrew Pinski To: Subject: [COMMITTED] Fix time-profiler-3.c after r14-5628-g53ba8d669550d3 Date: Mon, 27 Nov 2023 14:58:18 -0800 Message-ID: <20231127225818.613815-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: nalasex01b.na.qualcomm.com (10.47.209.197) 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-ORIG-GUID: Ywi2pUC6NIg3wGag1SaO5boYyVu7CHZN X-Proofpoint-GUID: Ywi2pUC6NIg3wGag1SaO5boYyVu7CHZN 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-27_19,2023-11-27_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 adultscore=0 mlxlogscore=368 clxscore=1015 suspectscore=0 priorityscore=1501 lowpriorityscore=0 spamscore=0 phishscore=0 impostorscore=0 bulkscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311270160 X-Spam-Status: No, score=-13.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_NUMSUBJECT, 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: 1783759829073730075 X-GMAIL-MSGID: 1783759829073730075 This testcase started to fail after r14-5628-g53ba8d669550d3 because IPA-VRP can now start to figure out the functions return a constant value and there was nothing that profiling needed to profile any more. This disables IPA-VRP for this testcase to be able to profile again. Bootrapped/tested on x86_64-linux-gnu with no regressions. gcc/testsuite/ChangeLog: * gcc.dg/tree-prof/time-profiler-3.c: Add -fno-ipa-vrp. --- gcc/testsuite/gcc.dg/tree-prof/time-profiler-3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/tree-prof/time-profiler-3.c b/gcc/testsuite/gcc.dg/tree-prof/time-profiler-3.c index 69ce0260828..e54a06a7827 100644 --- a/gcc/testsuite/gcc.dg/tree-prof/time-profiler-3.c +++ b/gcc/testsuite/gcc.dg/tree-prof/time-profiler-3.c @@ -1,4 +1,4 @@ -/* { dg-options "-O2 -fdump-ipa-profile -fprofile-update=atomic" } */ +/* { dg-options "-O2 -fdump-ipa-profile -fprofile-update=atomic -fno-ipa-vrp" } */ /* { dg-require-effective-target profile_update_atomic } */ __attribute__ ((noinline))