From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by sourceware.org (Postfix) with ESMTPS id B64E13858D20 for ; Mon, 26 Jun 2023 16:40:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B64E13858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=suse.cz Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id B4F6D1F74B; Mon, 26 Jun 2023 16:40:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1687797627; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=HOrAE7lgZ0/AMqP6k/4gxA8W8syXNi2r67oqtLtdtnM=; b=QUmmripW2jFwZCA6XVrUWBXs/STNzxIj1R7TKPwmu7sJrCWUVZXNQwfPbP9G9ahXKCa8fU xd1mv6JFp2HI2p0ltVxDtorrht3SARn/UtDpW+lZRr0gCoKita4E/eCt5F1xJipnvQGIUj nXLGHTKtWXNkm0uqR5Y8Oq4+flhjtwo= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1687797627; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=HOrAE7lgZ0/AMqP6k/4gxA8W8syXNi2r67oqtLtdtnM=; b=6SgHZhAmjS1+t2feVbVTawkAwnhpnAhJlqncJRpvz4wHEkHnLxBZqB3BRgQ7GCHCk1a1bI niYxOr1rdihyh2DA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id A801E13905; Mon, 26 Jun 2023 16:40:27 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id dD4BKXu/mWQhRwAAMHmgww (envelope-from ); Mon, 26 Jun 2023 16:40:27 +0000 From: Martin Jambor To: Aldy Hernandez via Gcc-patches , GCC patches Cc: Andrew MacLeod , Aldy Hernandez , Jan Hubicka Subject: Re: [PATCH] Convert ipa_jump_func to use ipa_vr instead of a value_range. In-Reply-To: <20230522185622.537454-1-aldyh@redhat.com> References: <20230522185622.537454-1-aldyh@redhat.com> User-Agent: Notmuch/0.37 (https://notmuchmail.org) Emacs/28.2 (x86_64-suse-linux-gnu) Date: Mon, 26 Jun 2023 18:40:22 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_SOFTFAIL,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi, On Mon, May 22 2023, Aldy Hernandez via Gcc-patches wrote: > This patch converts the ipa_jump_func code to use the type agnostic > ipa_vr suitable for GC instead of value_range which is integer specific. > > I've disabled the range cacheing to simplify the patch for review, but > it is handled in the next patch in the series. > > OK? > > gcc/ChangeLog: > > * ipa-cp.cc (ipa_vr_operation_and_type_effects): New. > * ipa-prop.cc (ipa_get_value_range): Adjust for ipa_vr. > (ipa_set_jfunc_vr): Take a range. > (ipa_compute_jump_functions_for_edge): Pass range to > ipa_set_jfunc_vr. > (ipa_write_jump_function): Call streamer write helper. > (ipa_read_jump_function): Call streamer read helper. > * ipa-prop.h (class ipa_vr): Change m_vr to an ipa_vr. OK, thanks and sorry for the waiting, I've been unexpectedly traveling last week. Martin > --- > gcc/ipa-cp.cc | 15 +++++++++++ > gcc/ipa-prop.cc | 70 ++++++++++++++++++------------------------------- > gcc/ipa-prop.h | 5 +++- > 3 files changed, 44 insertions(+), 46 deletions(-) > [...]