Re: [PATCH] RISC-V: Use the X iterator for eh_set_lr_{si,di}

2022-08-10 Thread Kito Cheng via Gcc-patches
LGTM, thanks! On Sun, Aug 7, 2022 at 3:42 AM Palmer Dabbelt wrote: > > These two patterns were independent, but exactly match the semantics of > X. Replace them with a single paramaterized pattern. Thanks to Andrew > for pointing this one out over IRC. > > gcc/ChangeLog > > * config/ris

[PATCH] RISC-V: Use the X iterator for eh_set_lr_{si,di}

2022-08-06 Thread Palmer Dabbelt
These two patterns were independent, but exactly match the semantics of X. Replace them with a single paramaterized pattern. Thanks to Andrew for pointing this one out over IRC. gcc/ChangeLog * config/riscv/riscv.md (eh_set_lr_): New pattern. (eh_set_lr_si): Remove. (eh_