On 9/16/24 2:10 AM, Xianmiao Qu wrote:
I think it is a typo. When calculating the 'SET_SRC (x)' cost,
outer_code should be set to SET.

gcc/
        * config/riscv/riscv.cc (riscv_rtx_costs): Fix the outer_code
        when calculating the cost of SET expression.
Agreed and pushed.

Thanks for finding this.

jeff

Reply via email to