On Sun, Jun 1, 2025 at 9:14 AM H.J. Lu <hjl.to...@gmail.com> wrote: > > Move get_call_rtx_from to final.c and call call_from_call_insn. > > PR other/120493 > * final.cc (call_from_call_insn): Change the argument type to > const rtx_call_insn *. > (get_call_rtx_from): New. > * rtl.h (is_a_helper <const rtx_call_insn *>::test): New. > (get_call_rtx_from): Moved to the final.cc section. > * rtlanal.cc (get_call_rtx_from): Removed.
OK. Thanks, Richard. > Tested on x86-64. > > -- > H.J.