Re: Re: [PATCH] genrecog: Add SUBREG_BYTE.to_constant check to the genrecog

2023-08-14 Thread juzhe.zh...@rivai.ai
Thanks Richard. It can fix my issue and reverted to the trunk. Thanks. juzhe.zh...@rivai.ai From: Richard Sandiford Date: 2023-08-14 18:00 To: Juzhe-Zhong CC: gcc-patches; rguenther; jeffreyalaw Subject: Re: [PATCH] genrecog: Add SUBREG_BYTE.to_constant check to the genrecog Juzhe-Zhong

Re: [PATCH] genrecog: Add SUBREG_BYTE.to_constant check to the genrecog

2023-08-14 Thread Richard Sandiford via Gcc-patches
Juzhe-Zhong writes: > Hi, there is genrecog issue happens in RISC-V backend. > > This is the ICE info: > > 0xfa3ba4 poly_int_pod<2u, unsigned short>::to_constant() const > ../../../riscv-gcc/gcc/poly-int.h:504 > 0x28eaa91 recog_5 > ../../../riscv-gcc/gcc/config/riscv/bitmanip.md:31

[PATCH] genrecog: Add SUBREG_BYTE.to_constant check to the genrecog

2023-08-14 Thread Juzhe-Zhong
Hi, there is genrecog issue happens in RISC-V backend. This is the ICE info: 0xfa3ba4 poly_int_pod<2u, unsigned short>::to_constant() const ../../../riscv-gcc/gcc/poly-int.h:504 0x28eaa91 recog_5 ../../../riscv-gcc/gcc/config/riscv/bitmanip.md:314 0x28ec5b4 recog_7 ../../.