Re: [PATCH] Also check function symbol for function declaration

2025-06-02 Thread H.J. Lu
On Mon, Jun 2, 2025 at 4:45 PM Richard Sandiford wrote: > > "H.J. Lu" writes: > > On Mon, Jun 2, 2025 at 4:07 PM Richard Sandiford > > wrote: > >> > >> "H.J. Lu" writes: > >> > Since not all CALL instructions in RTL passes have a REG_CALL_DECL note, > >> > update get_call_fndecl to also check f

Re: [PATCH] Also check function symbol for function declaration

2025-06-02 Thread Richard Sandiford
"H.J. Lu" writes: > On Mon, Jun 2, 2025 at 4:07 PM Richard Sandiford > wrote: >> >> "H.J. Lu" writes: >> > Since not all CALL instructions in RTL passes have a REG_CALL_DECL note, >> > update get_call_fndecl to also check function symbol for function >> > declaration so that it can be used on CA

Re: [PATCH] Also check function symbol for function declaration

2025-06-02 Thread H.J. Lu
On Mon, Jun 2, 2025 at 4:07 PM Richard Sandiford wrote: > > "H.J. Lu" writes: > > Since not all CALL instructions in RTL passes have a REG_CALL_DECL note, > > update get_call_fndecl to also check function symbol for function > > declaration so that it can be used on CALL instructions like > > > >

Re: [PATCH] Also check function symbol for function declaration

2025-06-02 Thread Richard Sandiford
"H.J. Lu" writes: > Since not all CALL instructions in RTL passes have a REG_CALL_DECL note, > update get_call_fndecl to also check function symbol for function > declaration so that it can be used on CALL instructions like > > (call_insn 39 38 61 7 (set (reg:SI 0 ax) > (call (mem:QI (symb