From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 567D53858C5E; Wed, 11 Oct 2023 02:33:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 567D53858C5E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1696991586; bh=LwCb2CEudrhD8LUgCTuyiCNWl7mVRlYs8xp9miq4mVI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wZx1PenlHzqTK+brIQ2mp78AfTFDoA0TeDvyEfiqL+qlCe0YLGe2pU6nSzl3jsxaQ ztmUMlWXehAVt1ub4+WtRP0A/uI4VDdXMLmGxqhpNDWUJynR5LqyEavfAmNTZVOsZe NZROcXEyY4aA3ftLEHR9pat9E8SdMsvFl/fPbXBw= From: "juzhe.zhong at rivai dot ai" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/111765] RISC-V: Faild to vectorize gen-vect-34.c Date: Wed, 11 Oct 2023 02:33:05 +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: juzhe.zhong at rivai dot ai 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=3D111765 --- Comment #2 from JuzheZhong --- (In reply to Andrew Pinski from comment #1) > For SVE: > /app/example.cpp:6:18: missed: missing target support for reduction on > variable-length vectors. >=20 > I assume it is the same issue for RVV. Yeah. So may be we should adjust the dump check: /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target vect_masked_load && !vect_variable_length } } } */ ?=