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 E58CC385086C for ; Thu, 20 Oct 2022 14:07:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E58CC385086C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de 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 BD4031F9E9; Thu, 20 Oct 2022 14:07:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1666274860; 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=pHh/V6VDhn82/5fDalQ/LWDxU+n4V4GTvAQhwOKFoQI=; b=wW2x3vhquSYR9/8CDGrugUiDGSjD2d9fmXLy0pr7BaRL8cNoWWbVvYuxURmi92+aMkn84r BjEsI1ulcW+PIqWWWDcic7BQrZ7LKJ4Ty6hrzttp7Qk9SjSe4FmnMaohEAYdr8Qvxnsnrw 8NyuQsE9sSGsLdUOO3upgIGBybDRUo0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1666274860; 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=pHh/V6VDhn82/5fDalQ/LWDxU+n4V4GTvAQhwOKFoQI=; b=j4snzjXXv89s6U/p3XzVsV5csmmxyXKG0qAG+EFiGNnYZssEJfb6dNIlaeQDRwefy/Tfl5 jLMYH9du2xFpZlAg== 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 A921E13494; Thu, 20 Oct 2022 14:07:40 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id Cpw8KSxWUWM6WgAAMHmgww (envelope-from ); Thu, 20 Oct 2022 14:07:40 +0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Richard Biener Mime-Version: 1.0 (1.0) Subject: Re: [PATCH]vect: Fix vectype when widening container type in bitfield pattern [PR107326] Date: Thu, 20 Oct 2022 16:07:39 +0200 Message-Id: <18C9D06C-5135-40B4-89D5-5BF9F1D509C6@suse.de> References: Cc: Richard Sandiford In-Reply-To: To: "Andre Vieira (lists) via Gcc-patches" X-Mailer: iPhone Mail (19H12) X-Spam-Status: No, score=-6.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: > Am 20.10.2022 um 15:59 schrieb Andre Vieira (lists) via Gcc-patches : >=20 > =EF=BB=BFHi, >=20 > The 'vect_recog_bitfield_ref_pattern' was not correctly adapting the vecty= pe when widening the container. >=20 > I thought the original tests covered that code-path but they didn't, so I a= dded a new run-test that covers it too. >=20 > Bootstrapped and regression tested on x86_64 and aarch64. Ok, Thanks, Richard=20 > gcc/ChangeLog: >=20 > PR tree-optimization/107326 > * tree-vect-patterns.cc (vect_recog_bitfield_ref_pattern): Change > vectype when widening container. >=20 > gcc/testsuite/ChangeLog: >=20 > * gcc.dg/vect/pr107326.c: New test. > * gcc.dg/vect/vect-bitfield-read-7.c >