public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH V2 0/2] Fix ICE with vwsll combine on 32bit targets
@ 2024-06-13 20:56 Edwin Lu
  2024-06-13 20:56 ` [PATCH V2 1/2] RISC-V: Fix vwsll combine on rv32 targets Edwin Lu
  2024-06-13 20:56 ` [PATCH V2 2/2] RISC-V: Move mode assertion out of conditional branch in emit_insn Edwin Lu
  0 siblings, 2 replies; 5+ messages in thread
From: Edwin Lu @ 2024-06-13 20:56 UTC (permalink / raw)
  To: gcc-patches; +Cc: gnu-toolchain, Edwin Lu

The following testcases have been failing on rv32 targets since 
r15-953-gaf4bf422a69:
FAIL: gcc.target/riscv/rvv/autovec/binop/vwsll-1.c (internal compiler
error: in maybe_legitimize_operand, at optabs.cc:8056)
FAIL: gcc.target/riscv/rvv/autovec/binop/vwsll-1.c (test for excess
errors)

Fix the bug and also robustify our emit_insn by making an assertion
check unconditional

I'm not sure if this ICE warrants its own separate testcase since it is
already being tested. I do have a minimal testcase on hand if we would
like to add one.

V2: Remove subreg condition and change assert to internal error

Edwin Lu (2):
  RISC-V: Fix vwsll combine on rv32 targets
  RISC-V: Move mode assertion out of conditional branch in emit_insn

 gcc/config/riscv/autovec-opt.md |  3 +--
 gcc/config/riscv/riscv-v.cc     | 25 +++++++++++++++++++------
 2 files changed, 20 insertions(+), 8 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-06-14 16:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-13 20:56 [PATCH V2 0/2] Fix ICE with vwsll combine on 32bit targets Edwin Lu
2024-06-13 20:56 ` [PATCH V2 1/2] RISC-V: Fix vwsll combine on rv32 targets Edwin Lu
2024-06-14 16:00   ` Robin Dapp
2024-06-13 20:56 ` [PATCH V2 2/2] RISC-V: Move mode assertion out of conditional branch in emit_insn Edwin Lu
2024-06-14 16:01   ` Robin Dapp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).