From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by sourceware.org (Postfix) with ESMTPS id 1189A385086C for ; Thu, 13 Oct 2022 08:15:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1189A385086C 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 relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 4C22C21A85; Thu, 13 Oct 2022 08:15:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1665648924; 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=bzVbGwKp8HKHori58dvOYPKZR6dl1Wv9QV4m2Epp0+0=; b=Py17ohhYutDNNgVSf+Zo9p4s0BWFWccTxnuSqDrm/Fn/te1Zgu6t0Ubp/IwiPCNfrNjqzd qp7o7ZMbg9iLIXYl1pOdrVIZ56FJB6BnlhKM0xr5UaBEt5jI8TTiPD16gNaIyPthN97WRd n01QZJxvGR8Qye62tCvyDqVOiG65/u8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1665648924; 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=bzVbGwKp8HKHori58dvOYPKZR6dl1Wv9QV4m2Epp0+0=; b=lVTH8uNbhnh5XWAJbfTOyOqPxRWRpi8HeZKGjTUHJy2A2zQxSoPcLV2O37nJX/snNspGDG 3cdqQ1PHfANYh2CA== Received: from wotan.suse.de (wotan.suse.de [10.160.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 434C62C143; Thu, 13 Oct 2022 08:15:24 +0000 (UTC) Date: Thu, 13 Oct 2022 08:15:24 +0000 (UTC) From: Richard Biener To: "Andre Vieira (lists)" cc: "gcc-patches@gcc.gnu.org" , Richard Sandiford Subject: Re: vect: Don't pattern match BITFIELD_REF's of non-integrals [PR107226] In-Reply-To: <3fd8eef5-213d-23bd-4bcd-de7157d2de18@arm.com> Message-ID: References: <3fd8eef5-213d-23bd-4bcd-de7157d2de18@arm.com> User-Agent: Alpine 2.22 (LSU 394 2020-01-19) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="-1609957120-2058216892-1665648924=:18337" X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,BODY_8BITS,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: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---1609957120-2058216892-1665648924=:18337 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT On Wed, 12 Oct 2022, Andre Vieira (lists) wrote: > Hi, > > The original patch supported matching the vect_recog_bitfield_ref_pattern for > BITFIELD_REF's where the first operand didn't have a INTEGRAL_TYPE_P type. > That means it would also match vectors, leading to regressions in targets that > supported vectorization of those. > > Bootstrappend and regression tested on aarch64-none-linux-gnu and > x86_64-pc-linux-gnu. OK. Richard. > gcc/ChangeLog: > >         PR tree-optimization/107226 >         * tree-vect-patterns.cc (vect_recog_bitfield_ref_pattern): Reject >         BITFIELD_REF's with non integral typed first operands. ---1609957120-2058216892-1665648924=:18337--