From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 936053858D20; Fri, 17 Nov 2023 05:41:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 936053858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1700199663; bh=wiUn2eQBzpzGUKUfcuGHHZqeBSoO+IeWOqJ9aMjtJPE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=dH9w6KoBExgvmCRPW9KXT3EfWhT6WFin/94QDQz1al4DP51/BCBP43nVfbseU7kT+ rOPh5OL58QmoicpO2RKXpGNSLFzr8eKlUt229WRQnKqfLlOZy6DTNgrHirmjZD1+dV o/JXYB79VdoVnkyHwJLsMN+yGqmlBRdaLDoHMP2Y= From: "liuhongt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/112579] bb vectorizer failed to reduction sum += inv >> {1,2,3,4,5,6,7,8} Date: Fri, 17 Nov 2023 05:41:03 +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: 14.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: liuhongt at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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=3D112579 --- Comment #1 from liuhongt at gcc dot gnu.org --- test.c:28:8: note: vect_is_simple_use: operand qh_16(D) >> 1, type of def: internal test.c:28:8: note: vect_is_simple_use: operand qh_16(D), type of def: external test.c:28:8: note: vect_is_simple_use: operand qh_16(D) >> 3, type of def: internal test.c:28:8: note: vect_is_simple_use: operand qh_16(D) >> 4, type of def: internal test.c:28:8: note: vect_is_simple_use: operand qh_16(D) >> 5, type of def: internal test.c:28:8: note: vect_is_simple_use: operand qh_16(D) >> 6, type of def: internal test.c:28:8: note: vect_is_simple_use: operand qh_16(D) >> 7, type of def: internal test.c:28:8: note: vect_is_simple_use: operand qh_16(D) >> 8, type of def: internal test.c:28:8: note: vect_is_simple_use: operand qh_16(D) >> 9, type of def: internal test.c:28:8: note: vect_is_simple_use: operand qh_16(D) >> 10, type of de= f: internal test.c:28:8: note: vect_is_simple_use: operand qh_16(D) >> 11, type of de= f: internal test.c:28:8: note: vect_is_simple_use: operand qh_16(D) >> 12, type of de= f: internal test.c:28:8: note: vect_is_simple_use: operand qh_16(D) >> 13, type of de= f: internal test.c:28:8: note: vect_is_simple_use: operand qh_16(D) >> 14, type of de= f: internal test.c:28:8: note: vect_is_simple_use: operand qh_16(D) >> 15, type of de= f: internal test.c:28:8: note: =3D=3D=3D vect_analyze_slp =3D=3D=3D test.c:28:8: note: Starting SLP discovery for test.c:28:8: note: _15 =3D qh_16(D) >> 15; test.c:28:8: note: _14 =3D qh_16(D) >> 14; test.c:28:8: note: _13 =3D qh_16(D) >> 13; test.c:28:8: note: _12 =3D qh_16(D) >> 12; test.c:28:8: note: _11 =3D qh_16(D) >> 11; test.c:28:8: note: _10 =3D qh_16(D) >> 10; test.c:28:8: note: _9 =3D qh_16(D) >> 9; test.c:28:8: note: _8 =3D qh_16(D) >> 8; test.c:28:8: note: _7 =3D qh_16(D) >> 7; test.c:28:8: note: _6 =3D qh_16(D) >> 6; test.c:28:8: note: _5 =3D qh_16(D) >> 5; test.c:28:8: note: _4 =3D qh_16(D) >> 4; test.c:28:8: note: _3 =3D qh_16(D) >> 3; test.c:28:8: note: _1 =3D qh_16(D) >> 1; test.c:28:8: note: _2 =3D qh_16(D) >> 2; test.c:28:8: note: starting SLP discovery for node 0x5d4e740 test.c:28:8: note: Build SLP for _15 =3D qh_16(D) >> 15; test.c:28:8: note: get vectype for scalar type (group size 14): unsigned = int test.c:28:8: note: vectype: vector(1) unsigned int test.c:28:8: note: nunits =3D 1 test.c:28:8: missed: Build SLP failed: op not supported by target. test.c:28:8: note: SLP discovery for node 0x5d4e740 failed test.c:28:8: note: SLP discovery failed=