From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DF2C83858D3C; Tue, 12 Sep 2023 12:17:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DF2C83858D3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1694521073; bh=tutRKPamwEvuIn3rmsOKUp6DMgQA4cxAlmqTNoUOkLA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=T33Ko0G5zO5o1Ej9y0cJZovcFWfaTlUMeyCW1BMWSf4jawud5yBp57m832wGj7V1/ 1JHKuJLKlT5Hf4nS7GpIuRuk5uz7CzMXTL1S28tIQTklkDPI1lb3r7Ni0GR8BHxnaz oJj+rwFK3Lse6eGRPQDfbZgSLTUcoYf9ea8hE45k= From: "juzhe.zhong at rivai dot ai" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/111337] ICE in gimple-isel.cc for RISC-V port Date: Tue, 12 Sep 2023 12:17:53 +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: ice-on-valid-code 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=3D111337 --- Comment #5 from JuzheZhong --- Oh. I see. (define_expand "@vcond_mask_" [(match_operand:VB 0 "register_operand") (match_operand:VB 3 "register_operand") (match_operand:VB 1 "nonmemory_operand") (match_operand:VB 2 "register_operand")] "TARGET_VECTOR" { printf ("vcond_mask\n"); }) I implemented this pattern which can address this issue.... Note that VB is VECTR_BOOL... So, this is a more reasonable way to do. Is that right?=