]> git.ipfire.org Git - thirdparty/gcc.git/commit
[PATCH 1/2] RISC-V: Fix the outer_code when calculating the cost of SET expression.
authorXianmiao Qu <cooper.qu@linux.alibaba.com>
Wed, 18 Sep 2024 13:35:12 +0000 (07:35 -0600)
committerKito Cheng <kito.cheng@sifive.com>
Wed, 9 Apr 2025 14:03:09 +0000 (22:03 +0800)
commit80ab25142565e83477af7c3e57f0a4dcf51b9659
treeea1084c15833efce4e7482d454eea09906602b24
parent37d13153635b78013a8d27d2be9da99d0f2a88a7
[PATCH 1/2] RISC-V: Fix the outer_code when calculating the cost of SET expression.

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.
gcc/config/riscv/riscv.cc