From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9F9CB3858D39; Wed, 10 Apr 2024 03:55:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9F9CB3858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712721344; bh=RrBcwg3OaZjZJqCvyp1WTg+yUyO+UyehLXnkrnELFbg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=XbSCGr2Rh6T9h96jSSeoMzBL+6Fsn08Su/GS26Mpf/ju92bGwboO8ogHHI5JkHeVQ oexpGVHNhVamgt7AR63k7C/amPbBKqhugAyRSD799DXIlI2ekp56WfflTFsRaBptLG JXKBF28OtSiZXUJxeKlRZ6w2ekPRnMCzOiGfCdUE= From: "kugan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/114653] Not vectorizing the loop with openmp reduction. Date: Wed, 10 Apr 2024 03:55:44 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: kugan 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=3D114653 --- Comment #2 from kugan at gcc dot gnu.org --- Thanks. I see the following in the log: test.cpp:33:53: missed: not vectorized: relevant stmt not supported: _54 = =3D .MASK_LOAD (_53, 32B, _171); test.cpp:22:19: missed: bad operation or unsupported loop bound. test.cpp:22:19: note: ***** Analysis failed with vector mode V4SF test.cpp:22:19: note: =3D=3D=3D vect_analyze_data_ref_dependences =3D=3D= =3D test.cpp:22:19: missed: bad data dependence. test.cpp:22:19: note: ***** Analysis failed with vector mode VNx16QI test.cpp:33:53: missed: not vectorized: relevant stmt not supported: _54 = =3D .MASK_LOAD (_53, 32B, _171); test.cpp:22:19: missed: bad operation or unsupported loop bound. test.cpp:22:19: note: ***** Analysis failed with vector mode V8QI test.cpp:22:19: note: =3D=3D=3D vect_analyze_data_ref_dependences =3D=3D= =3D test.cpp:22:19: missed: bad data dependence. test.cpp:22:19: note: ***** Analysis failed with vector mode VNx8QI test.cpp:33:53: missed: not vectorized: relevant stmt not supported: _54 = =3D .MASK_LOAD (_53, 32B, _171); test.cpp:22:19: missed: bad operation or unsupported loop bound. test.cpp:22:19: note: ***** Analysis failed with vector mode V4HI test.cpp:22:19: note: =3D=3D=3D vect_analyze_data_ref_dependences =3D=3D= =3D test.cpp:22:19: missed: bad data dependence. test.cpp:22:19: note: ***** Analysis failed with vector mode VNx4QI test.cpp:33:53: missed: not vectorized: relevant stmt not supported: _54 = =3D .MASK_LOAD (_53, 32B, _171); test.cpp:22:19: missed: bad operation or unsupported loop bound. test.cpp:22:19: note: ***** Analysis failed with vector mode V2SI test.cpp:22:19: note: worklist: examine stmt: _57 =3D D.4803[_20]; test.cpp:22:19: note: =3D=3D=3D vect_analyze_data_ref_dependences =3D=3D= =3D test.cpp:22:19: missed: bad data dependence. test.cpp:22:19: note: ***** Analysis failed with vector mode VNx2QI test.cpp:22:19: missed: couldn't vectorize loop test.cpp:22:19: missed: bad data dependence.=