Re: [PATCH/AARCH64] Fix PR 61345: rtx_cost ICEing on simple code

2014-06-02 Thread Marcus Shawcroft
On 28 May 2014 23:58, Andrew Pinski wrote: > Hi, > The problem here is aarch64_rtx_costs for IF_THEN_ELSE does not > handle the case where the first operand is a non comparison. This > happens when the combine is combing a few RTLs and calling > set_src_cost to check the costs of the newly crea

[PATCH/AARCH64] Fix PR 61345: rtx_cost ICEing on simple code

2014-05-28 Thread Andrew Pinski
Hi, The problem here is aarch64_rtx_costs for IF_THEN_ELSE does not handle the case where the first operand is a non comparison. This happens when the combine is combing a few RTLs and calling set_src_cost to check the costs of the newly created rtl. At the same I noticed the code for rtx_costs