On Wed, May 2, 2018 at 3:05 PM, Jim Wilson <j...@sifive.com> wrote:> > * config/riscv/riscv.c (riscv_extend_comparands): In unsigned QImode > test, check for sign extended subreg and/or constant operands, and > do a sign extend in that case. > > gcc/testsuite/ > * gcc.target/riscv/switch-qi.c: New. > * gcc.target/riscv/switch-si.c: New.
Committed. Jim