Re: [PATCH] Replace a HWI_COMPUTABLE_MODE_P with wide-int in simplify-rtx.cc.

2023-05-29 Thread Richard Biener via Gcc-patches
On Fri, May 26, 2023 at 8:44 PM Roger Sayle wrote: > > > This patch enhances one of the optimizations in simplify_binary_operation_1 > to allow it to simplify RTL expressions in modes than HOST_WIDE_INT by > replacing a use of HWI_COMPUTABLE_MODE_P and UINTVAL with wide_int. > > The motivating exa

[PATCH] Replace a HWI_COMPUTABLE_MODE_P with wide-int in simplify-rtx.cc.

2023-05-26 Thread Roger Sayle
This patch enhances one of the optimizations in simplify_binary_operation_1 to allow it to simplify RTL expressions in modes than HOST_WIDE_INT by replacing a use of HWI_COMPUTABLE_MODE_P and UINTVAL with wide_int. The motivating example is a pending x86_64 backend patch that produces the followi