From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0D8F938582B2; Fri, 23 Sep 2022 06:43:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0D8F938582B2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1663915434; bh=Qrk/Bpk6jWSaRc8nQ8+pZog9UN74gbr+m9TzI/CjBfk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=KHIMaLiWVcFEn5M3mBEgDsX3baG6OtW/Z5ZKJC03TzimzrkQK9to3MYIZWcWrLBHM Qc1n5pwowoqqUZ3r9iEfUxCbR1oy7DhFSF80qfu+en0z5Lc6MOHi7mDgs+G0CKpcQa rDQBo8FR6FxcQgOyGLFZ0os5v2XU4pR6RLEBrbCw= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/107009] [13 Regression] massive unnecessary code blowup in vectorizer Date: Fri, 23 Sep 2022 06:43:53 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords priority cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107009 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Priority|P3 |P1 CC| |rguenth at gcc dot gnu.org --- Comment #3 from Richard Biener --- # RANGE [irange] size_t [1, +INF] size_t n_12(D) =3D n; the nonzero bits info on 'n' is gone. DOM2 used to produce that and CCP3 elides the __builtin_unreachable () but if DOM2 is disabled that doesn't produce the nonzero bits. DOM2 from trunk no longer sets nonzero bits. CCP doesn't do any conditional non-zero bits (or constant equivalence) propagation.=