On 11/6/19 8:00 AM, Segher Boessenkool wrote:
> This introduces simplify_logical_relational_operation.  Currently the
> only thing implemented it can simplify is the IOR of two CONDs of the
> same arguments.
> 
> Tested on powerpc64-linux {-m32,-m64}.
> 
> Is this okay for trunk?
> 
> 
> Segher
> 
> 
> 2018-11-06  Segher Boessenkool  <seg...@kernel.crashing.org>
> 
>       * simplify-rtx.c (comparison_to_mask): New function.
>       (mask_to_comparison): New function.
>       (simplify_logical_relational_operation): New function.
>       (simplify_binary_operation_1): Call
>       simplify_logical_relational_operation.
OK.

BTW, I think there's enough overlap between simplify-rtx and combine
that if you wanted to maintain simplify-rtx as well that I'd fully
support it.  Thoughts?

jeff

Reply via email to