Re: [committed] RISC-V: Add const to function_shape::get_name [NFC]

2024-12-06 Thread Kito Cheng
Thanks for notifying me that, I just reverted that first and will investigate next week :) On Sat, Dec 7, 2024 at 3:30 AM Mark Wielaard wrote: > > Hi Kito, > > On Thu, Dec 05, 2024 at 03:12:03PM +0800, Kito Cheng wrote: > > function_shape::get_name is the funciton for building intrinsic function

Re: [committed] RISC-V: Add const to function_shape::get_name [NFC]

2024-12-06 Thread Mark Wielaard
Hi Kito, On Thu, Dec 05, 2024 at 03:12:03PM +0800, Kito Cheng wrote: > function_shape::get_name is the funciton for building intrinsic function name, > the result should not be changed by others once it built. > > So add const to the return type to make sure no one change that by > accident. Thi

[committed] RISC-V: Add const to function_shape::get_name [NFC]

2024-12-04 Thread Kito Cheng
function_shape::get_name is the funciton for building intrinsic function name, the result should not be changed by others once it built. So add const to the return type to make sure no one change that by accident. gcc/ChangeLog: * config/riscv/riscv-vector-builtins-shapes.cc (vset