Applied to master. Thanks! Philipp. On Fri, 18 Nov 2022 at 20:30, Jeff Law wrote: > > On 11/8/22 13:46, Philipp Tomsich wrote: > > gcc/ChangeLog: > > > > * config/riscv/predicates.md (shifted_const_arith_operand): > > (uimm_extra_bit_operand): > > * config/riscv/riscv.md > (*branch_shiftedarith_equals_zero): > > (*branch_shiftedmask_equals_zero): > > > > gcc/testsuite/ChangeLog: > > > > * gcc.target/riscv/branch-1.c: New test. > > Nice... It seems so obvious, but I'm not offhand aware of other ports > doing this, though many could likely benefit. > > OK > > > jeff > > >