On Thu, May 5, 2016 at 5:33 AM, kugan wrote:
> Hi,
>
> I tried to handle reassoc fails to handle FP division. I think the best way
> to do this is to do like what is done for MINUS_EXPR. I.e, convert the
> RDIV_EXPR to MULT_EXPR by (1/x) early and later in opt_rdiv_with_multiply,
> optimize it.
>
Hi,
I tried to handle reassoc fails to handle FP division. I think the best
way to do this is to do like what is done for MINUS_EXPR. I.e, convert
the RDIV_EXPR to MULT_EXPR by (1/x) early and later in
opt_rdiv_with_multiply, optimize it.
Here is a patch that passes bootstrap and regression