> 2018-11-13 Jakub Jelinek
>
> PR rtl-optimization/87918
> * simplify-rtx.c (simplify_merge_mask): For COMPARISON_P, use
> simplify_gen_relational rather than simplify_gen_binary.
>
> * gcc.target/i386/pr87918.c: New test.
OK, thanks.
--
Eric Botcazou
Hi!
The BINARY_P predicate is true not just for arithmetic binary ops, but
for relational ones too; for the latter, we must not call
simplify_gen_binary, but simplify_gen_relational instead.
Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?
2018-11-13 Jakub Jelinek