From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by sourceware.org (Postfix) with ESMTPS id DD22A3985814 for ; Wed, 23 Jun 2021 13:15:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DD22A3985814 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.cz Received: from imap.suse.de (imap-alt.suse-dmz.suse.de [192.168.254.47]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id A5C2A21962; Wed, 23 Jun 2021 13:15:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1624454122; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KoTUGDMTq1Rg7aJDC0rg6gp2PaCgVgdl5cs4dYrVK6w=; b=D5g45tVAgwe2daT2L4/APl6Hrs54soCWGK0D0tPwvBr3LKOHXuhqgS0fTcbkdP2oLbaHDb TE+47iZGdkzLyo9/qgOfGffmjAPfwyPIbdsW/hM/SLGjmQoKfx7uyqfTSd0XqfKlQw6Vk6 g0rVPlcXT3N7aDDppA5khMkJMGb3R4E= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1624454122; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KoTUGDMTq1Rg7aJDC0rg6gp2PaCgVgdl5cs4dYrVK6w=; b=F5Ncz5PtVviITcPVydKNH1NaqpFyw/BHR8El0JLE+pp08nurDqZUhu4OZMKt7JCmd+W6Zk u+DyL0ji5XYRYXDw== Received: from imap3-int (imap-alt.suse-dmz.suse.de [192.168.254.47]) by imap.suse.de (Postfix) with ESMTP id 8529211A97; Wed, 23 Jun 2021 13:15:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1624454122; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KoTUGDMTq1Rg7aJDC0rg6gp2PaCgVgdl5cs4dYrVK6w=; b=D5g45tVAgwe2daT2L4/APl6Hrs54soCWGK0D0tPwvBr3LKOHXuhqgS0fTcbkdP2oLbaHDb TE+47iZGdkzLyo9/qgOfGffmjAPfwyPIbdsW/hM/SLGjmQoKfx7uyqfTSd0XqfKlQw6Vk6 g0rVPlcXT3N7aDDppA5khMkJMGb3R4E= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1624454122; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KoTUGDMTq1Rg7aJDC0rg6gp2PaCgVgdl5cs4dYrVK6w=; b=F5Ncz5PtVviITcPVydKNH1NaqpFyw/BHR8El0JLE+pp08nurDqZUhu4OZMKt7JCmd+W6Zk u+DyL0ji5XYRYXDw== Received: from director2.suse.de ([192.168.254.72]) by imap3-int with ESMTPSA id 291mH+oz02B9NQAALh3uQQ (envelope-from ); Wed, 23 Jun 2021 13:15:22 +0000 Subject: Re: [PATCH] inline: do not inline when no_profile_instrument_function is different To: Jan Hubicka Cc: gcc-patches@gcc.gnu.org, Nick Desaulniers References: <4a46257d-91cd-427e-1b11-7599ad36d07f@suse.cz> <20210623123841.GC65660@kam.mff.cuni.cz> From: =?UTF-8?Q?Martin_Li=c5=a1ka?= Message-ID: <7fed627d-7213-918c-3ca6-0db60623a32b@suse.cz> Date: Wed, 23 Jun 2021 15:15:22 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210623123841.GC65660@kam.mff.cuni.cz> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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: , X-List-Received-Date: Wed, 23 Jun 2021 13:15:25 -0000 On 6/23/21 2:38 PM, Jan Hubicka wrote: > Is there reason to prevent the inlining once instrumentation is done? No ;) > I think you can just block it for early inliner. Sure. Do you have a handy predicate function that tells if einliner is done? Thanks, Martin