Re: [PATCH] Keep track of the FUNCTION_BEG note

2024-01-09 Thread Jeff Law
On 1/5/24 09:28, Richard Sandiford wrote: function.cc emits a NOTE_FUNCTION_BEG after all arguments have been copied to pseudos. It then records this note in parm_birth_insn. Various other pieces of code use this insn as a convenient place to insert things at the start of the function. Howev

[PATCH] Keep track of the FUNCTION_BEG note

2024-01-05 Thread Richard Sandiford
function.cc emits a NOTE_FUNCTION_BEG after all arguments have been copied to pseudos. It then records this note in parm_birth_insn. Various other pieces of code use this insn as a convenient place to insert things at the start of the function. However, cfgexpand later changes parm_birth_insn as