Message ID | 20240725114434.B742C1368A@imap1.dmz-prg2.suse.org |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=iugSFIfW; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=Ae+/M4nG; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=Lk+uq7RI; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=L0URoqpL; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WV8FQ0ZlVz1yXp for <incoming@patchwork.ozlabs.org>; Thu, 25 Jul 2024 21:44:57 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id DC5653858410 for <incoming@patchwork.ozlabs.org>; Thu, 25 Jul 2024 11:44:55 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) by sourceware.org (Postfix) with ESMTPS id 58D503858D29 for <gcc-patches@gcc.gnu.org>; Thu, 25 Jul 2024 11:44:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 58D503858D29 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 58D503858D29 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=195.135.223.130 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1721907879; cv=none; b=S5aRUTwZhhFbNI2d7wZxE6Bdc7maNSzU+ZFDEyksse7nrAqztfpFGuHi3Q2QV+XVlvolc2A5R9xcer+o76SqDOdGUsC5gkcsV5RQd1x2nY0ktYaXv+H3S9JCl7m60ytp4MQG2N1CLnIx0RuW4yFLfQs0PtsnKjXZseGmpu4N3Tg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1721907879; c=relaxed/simple; bh=Js+SRPnJpSB0G18JqoNXGK1lhDhgh5kWS6f9s6R68+o=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature:Date: From:To:Subject:MIME-Version:Message-Id; b=t3jzAN9YdE9lQDzcWbl/ZatxAgmRQoheupwkREkUB2319I8IRDkTsCyDAH/S+GvRv3dF/N9PGXasuJYE+lnlzXQ8ar5cvDjD+2uuL8Om1YN+VwG9vCWxAVXlXzwnemFl+YZ+EsGXSiT8ImMWK0yat6ZXTdLEjTVx3svM3w1yHBY= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id CFB5021A5A for <gcc-patches@gcc.gnu.org>; Thu, 25 Jul 2024 11:44:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1721907876; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type; bh=pGgy5AAhjLavU+QmLdMcsT+KmDyKgtDFKtJjZjX/FSw=; b=iugSFIfWaDHWvFIu0zwIdYRNLJlgEIJO8pSo0+91JxSdzFZZE6/Px+vULS63JFe3QQhjzJ A8+Ud4lV6fQrk5eflOR5uv+pbRlsR/VYHLpZA8NIiyMfC6mdFAdwcvqt1mcj+o6PEUUdBc T/cNO7sMGhE+4uGVsqy0TmLjwDZyKLo= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1721907876; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type; bh=pGgy5AAhjLavU+QmLdMcsT+KmDyKgtDFKtJjZjX/FSw=; b=Ae+/M4nGFSSkAxjlnKJvnypaahjKqkYiqIDwTvfpPYxA6t79Jn+9IHsWg4RwudHtqfbbNa NlIM4q2EdX589HDg== Authentication-Results: smtp-out1.suse.de; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=Lk+uq7RI; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=L0URoqpL DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1721907874; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type; bh=pGgy5AAhjLavU+QmLdMcsT+KmDyKgtDFKtJjZjX/FSw=; b=Lk+uq7RIhwnPMl66/202O0KeY48cxFEHL7Ff1xdnyDk506zIXBHv+s3tSFC3aqEuHQr6Bp 0HcG5wjJDt3AqJl5hJQOA3zoPCiG8kpQnlc+lCpB397f9zLV9jJyewZREVVcZK2pyUgXvE NzWK3hbGjY+mIMoQIJVtAC5vwA50Gmo= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1721907874; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type; bh=pGgy5AAhjLavU+QmLdMcsT+KmDyKgtDFKtJjZjX/FSw=; b=L0URoqpLDhgufcz0tsjuAv9OUh54nX5cv9J54Lh1L1Htby6nvERAnAXCXwQ8xmnGEpMDnJ hjqWOUGS/P6luHDA== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id B742C1368A for <gcc-patches@gcc.gnu.org>; Thu, 25 Jul 2024 11:44:34 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id HD0iK6I6omY8YQAAD6G6ig (envelope-from <rguenther@suse.de>) for <gcc-patches@gcc.gnu.org>; Thu, 25 Jul 2024 11:44:34 +0000 Date: Thu, 25 Jul 2024 13:44:34 +0200 (CEST) From: Richard Biener <rguenther@suse.de> To: gcc-patches@gcc.gnu.org Subject: [PATCH] tree-optimization/116081 - typedef vs. non-typedef in vectorization MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Message-Id: <20240725114434.B742C1368A@imap1.dmz-prg2.suse.org> X-Rspamd-Server: rspamd1.dmz-prg2.suse.org X-Rspamd-Action: no action X-Rspamd-Queue-Id: CFB5021A5A X-Spam-Score: -4.31 X-Spam-Level: X-Spamd-Result: default: False [-4.31 / 50.00]; BAYES_HAM(-3.00)[100.00%]; NEURAL_HAM_LONG(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; MIME_GOOD(-0.10)[text/plain]; MX_GOOD(-0.01)[]; RCVD_TLS_ALL(0.00)[]; RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:106:10:150:64:167:received]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:104:10:150:64:97:from]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; MISSING_XM_UA(0.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:rdns,imap1.dmz-prg2.suse.org:helo,tree-vect-loop.cc:url]; DNSWL_BLOCKED(0.00)[2a07:de40:b281:106:10:150:64:167:received]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:97:from]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[gcc-patches@gcc.gnu.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; DKIM_TRACE(0.00)[suse.de:+] X-Spam-Status: No, score=-11.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, 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 X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org |
Series |
tree-optimization/116081 - typedef vs. non-typedef in vectorization
|
expand
|
diff --git a/gcc/tree-vect-loop.cc b/gcc/tree-vect-loop.cc index d7d628efa60..856ce491c3e 100644 --- a/gcc/tree-vect-loop.cc +++ b/gcc/tree-vect-loop.cc @@ -5652,7 +5652,7 @@ get_initial_defs_for_reduction (loop_vec_info loop_vinfo, init = gimple_build_vector_from_val (&ctor_seq, vector_type, neutral_op); int k = nunits; - while (k > 0 && elts[k - 1] == neutral_op) + while (k > 0 && operand_equal_p (elts[k - 1], neutral_op)) k -= 1; while (k > 0) {