Re: [PATCH v4] RISC-V: Implement TARGET_CAN_INLINE_P

2024-10-08 Thread Jeff Law
On 10/3/24 9:30 AM, Yangyu Chen wrote: Currently, we lack support for TARGET_CAN_INLINE_P on the RISC-V ISA. As a result, certain functions cannot be optimized with inlining when specific options, such as __attribute__((target("arch=+v"))) . This can lead to potential performance issues when b

[PATCH v4] RISC-V: Implement TARGET_CAN_INLINE_P

2024-10-03 Thread Yangyu Chen
Currently, we lack support for TARGET_CAN_INLINE_P on the RISC-V ISA. As a result, certain functions cannot be optimized with inlining when specific options, such as __attribute__((target("arch=+v"))) . This can lead to potential performance issues when building retargetable binaries for RISC-V. T