Re: [PATCH 1/2] Factor out common internal-fn idiom

2022-06-12 Thread Jeff Law via Gcc-patches
On 6/10/2022 3:13 AM, Richard Sandiford via Gcc-patches wrote: internal-fn.c has quite a few functions that simply map the result of the call to an instruction's output operand (if any) and map each argument to an instruction's input operand, in order. This patch adds a single function for

[PATCH 1/2] Factor out common internal-fn idiom

2022-06-10 Thread Richard Sandiford via Gcc-patches
internal-fn.c has quite a few functions that simply map the result of the call to an instruction's output operand (if any) and map each argument to an instruction's input operand, in order. This patch adds a single function for doing that. It's really just a generalisation of