]> git.ipfire.org Git - thirdparty/gcc.git/commit
RISC-V: Simplify EQ vs NE selection in `riscv_expand_conditional_move'
authorMaciej W. Rozycki <macro@embecosm.com>
Wed, 22 Nov 2023 01:18:24 +0000 (01:18 +0000)
committerMaciej W. Rozycki <macro@embecosm.com>
Wed, 22 Nov 2023 01:18:24 +0000 (01:18 +0000)
commit35bea66d367520e6f62fc723bca6bf9cb291e581
treecae09e115bfedc0d8794a7dc9dec80687f0f1e0d
parent5a21d507561883460411921a291bfd50a9a1d429
RISC-V: Simplify EQ vs NE selection in `riscv_expand_conditional_move'

Just choose between EQ and NE at `gen_rtx_fmt_ee' invocation, removing
an extraneous variable only referred once and improving code clarity.

gcc/
* config/riscv/riscv.cc (riscv_expand_conditional_move): Remove
extraneous variable for EQ vs NE operation selection.
gcc/config/riscv/riscv.cc