diff options
| author | Alexandre Oliva <oliva@adacore.com> | 2026-02-04 23:48:55 -0300 |
|---|---|---|
| committer | Alexandre Oliva <oliva@gnu.org> | 2026-02-04 23:48:55 -0300 |
| commit | bd848fa1d8968ffbbc783c70bdecd8b365085e95 (patch) | |
| tree | 4b7ed5256f6f3ae82ea849100749bb26800e7f6d /libjava/gnu/java | |
| parent | d931a18247130376de4ecd7543934b5a2d9ae287 (diff) | |
| download | gcc-bd848fa1d8968ffbbc783c70bdecd8b365085e95.zip gcc-bd848fa1d8968ffbbc783c70bdecd8b365085e95.tar.gz gcc-bd848fa1d8968ffbbc783c70bdecd8b365085e95.tar.bz2 | |
simplify-rtx: fix riscv redundant-bitmap-2.C
The insn simplification expected by the test, to get a bset
instruction, has been prevented since r15-9239, because we get rotates
for bit clear and shifts for bit flip, and we don't know how to
simplify those.
Teach the rtl simplifier, at the spots where it had been extended to
handle these logical simplifications, to also handle these less
obvious negations.
for gcc/ChangeLog
* simplify-rtx.cc (negated_ops_p): New.
(simplify_context::simplify_binary_operation_1): Use it.
Diffstat (limited to 'libjava/gnu/java')
0 files changed, 0 insertions, 0 deletions
