I guess another solution is using reg_or_subregno instead of REGNO, but that should not catch more cases, and just more run-time check, so this version is LGTM.
- [PATCH] [RISC-V] fix PR 111259 invalid zcmp mov... Fei Gao
- Re: [PATCH] [RISC-V] fix PR 111259 invalid... Kito Cheng via Gcc-patches
- Re: [PATCH] [RISC-V] fix PR 111259 inv... Patrick O'Neill
- Re: [PATCH] [RISC-V] fix PR 111259... Palmer Dabbelt
- [Committed] [RISC-V] fix PR 11... Patrick O'Neill