From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 32F373858D20 for ; Wed, 1 May 2024 16:22:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 32F373858D20 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 32F373858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1714580526; cv=none; b=kzv2LqquWemKz5m0dd+FjzTZiNTF7Yqxd5XC+Xwl0tCjg6OiHySacFwDob2C+N7YfPwRJ7FTN+nB2a3s63oA3/men8MS2yR7vjBmHpGyu45ogHz/pC7Akx4qVnUagWKMRVisiXZC8P3KROEw1oovU6xqFH/f2NWArPkWda2rnZ8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1714580526; c=relaxed/simple; bh=kWQFyKJWumZ3tyxWg1lyAAAxg64gjE12jxDmwH2JpOY=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=q3yqdnKBvQKWIKS21MFHnO4/rtqwRbznoClnln6R1dYXwXI7S4BKNInbwkUZWpiJRSFrMauhL1c6bfXk3v4l37f+2peLS0DpZGPVsP/HR0sZPx7UYTCLbBjBCJSpfMowR6YoWAZLhdbVXUa9cqXnClHjzisfH03wOI8mwQcwVDU= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1714580524; h=from:from:reply-to:subject:subject: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=6zO5Dxks7EHgEwM4jPEL1Zj3Xflf63mDo78gULAGHHU=; b=GukoWbo4xjdnJrjCE6oct6hBbBdxsszIeoPUUOC/Wa1Y1aNA440B6KKM3j4NxvONyOpcSe vfMF7d/158wGjmJval25Ayd5KWrfCTJj/Z+V2WHFy8VVytbE4OUYKPYqc7UGNhx64mRyzg hKfDYr5dw6kHePoZWF4FDeZGDXKM4tY= Received: from mail-qv1-f72.google.com (mail-qv1-f72.google.com [209.85.219.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-523-QtpWmIQqMA-Lv9mfBfuPJQ-1; Wed, 01 May 2024 12:22:03 -0400 X-MC-Unique: QtpWmIQqMA-Lv9mfBfuPJQ-1 Received: by mail-qv1-f72.google.com with SMTP id 6a1803df08f44-6a0e7d77b41so20456916d6.0 for ; Wed, 01 May 2024 09:22:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714580523; x=1715185323; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=6zO5Dxks7EHgEwM4jPEL1Zj3Xflf63mDo78gULAGHHU=; b=KCohRMCQEdQ5DOkcLZVwFBR50TyBG+pvxffmbAGlzALMIXFNv2g8dQQI4PvKzw5UX7 Lr39KLcC+jYasheKe10O/PufHNqGLUbMmPrFdycgy0wFWLrak33BDzqwQi9e7pMPKHB4 NJ35n+DojuOWFAohO5Q705bVZPwcfc+ObqNGjj/uQtqcaUlsZ6e2YU37vMCcqJBBvuHo ky/aULzRZISk6SDmfl+oawnrnI9njwhGEDmfIYud8TbD0S2CtUOjLl/V3LwTA8acib5/ CbxrsXQLhjzhwfEpxYCDSKNEAu/3Gch0+3agpBpn6qoCzv4BNp5SxZ6quBNoJJOzVaNP R4eQ== X-Forwarded-Encrypted: i=1; AJvYcCXs7jW6+UY/zfMDmggwkjQZs93d6qNPt/0jJOjttD8CmtzZpyqsmTM8os6DLWW/MZYLf1cvCaCHI03CubEoJGiqUywkQrm0HQ== X-Gm-Message-State: AOJu0Yz6qFFK+Y8Qyb1OtOeSfQWxSRP00Ywh8pzrFOe3rO3aBRV3yEcx MGr8gUNdnhoQJwTFVXcqJJnY/B/Dv1EKACDUIeE+4xSbMF0hOXnkpZyT4iTVuIqi+CkWadNo1L/ mR77L9RYG/qI0TfysL4B6fR3j9hHiHOuFKiwE8Tdxi1bhimfjdpdocgQ= X-Received: by 2002:a05:6214:268d:b0:6a0:d465:6102 with SMTP id gm13-20020a056214268d00b006a0d4656102mr3097644qvb.6.1714580522796; Wed, 01 May 2024 09:22:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG3/l4NpUhslLtCVxy8SRZm9FND78xTmnpQfevirSAL0zZmPp8wf1iIw3W0iOuR5OiJiwuIdg== X-Received: by 2002:a05:6214:268d:b0:6a0:d465:6102 with SMTP id gm13-20020a056214268d00b006a0d4656102mr3097624qvb.6.1714580522435; Wed, 01 May 2024 09:22:02 -0700 (PDT) Received: from [192.168.1.107] (23-233-12-249.cpe.pppoe.ca. [23.233.12.249]) by smtp.gmail.com with ESMTPSA id r1-20020ad44041000000b006a0d19c3139sm532273qvp.118.2024.05.01.09.21.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 01 May 2024 09:22:02 -0700 (PDT) Message-ID: <59b6f8e5-fffc-49d2-acc2-e3a69d708134@redhat.com> Date: Wed, 1 May 2024 12:21:56 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 3/4] ira: Apply DF_LIVE_SUBREG data To: Lehua Ding , gcc-patches@gcc.gnu.org Cc: richard.sandiford@arm.com, juzhe.zhong@rivai.ai References: <20240203105012.208998-1-lehua.ding@rivai.ai> <20240203105012.208998-4-lehua.ding@rivai.ai> From: Vladimir Makarov In-Reply-To: <20240203105012.208998-4-lehua.ding@rivai.ai> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP,URIBL_BLACK 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: On 2/3/24 05:50, Lehua Ding wrote: > This patch simple replace df_get_live_in to df_get_subreg_live_in > and replace df_get_live_out to df_get_subreg_live_out. > > gcc/ChangeLog: > > * ira-build.cc (create_bb_allocnos): Switch to DF_LIVE_SUBREG df data. > (create_loop_allocnos): Ditto. > * ira-color.cc (ira_loop_edge_freq): Ditto. > * ira-emit.cc (generate_edge_moves): Ditto. > (add_ranges_and_copies): Ditto. > * ira-lives.cc (process_out_of_region_eh_regs): Ditto. > (add_conflict_from_region_landing_pads): Ditto. > (process_bb_node_lives): Ditto. > * ira.cc (find_moveable_pseudos): Ditto. > (interesting_dest_for_shprep_1): Ditto. > (allocate_initial_values): Ditto. > (ira): Ditto. > This patch is ok for me. > gcc/ira-build.cc | 7 ++++--- > gcc/ira-color.cc | 8 ++++---- > gcc/ira-emit.cc | 12 ++++++------ > gcc/ira-lives.cc | 7 ++++--- > gcc/ira.cc | 19 ++++++++++++------- > 5 files changed, 30 insertions(+), 23 deletions(-)