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
all_p = true; break; } } If get_call_fndecl works without a REG_CALL_DECL note, I can use it instead of writing my own. > Thanks, > Richard > > > > > -- > > H.J. > > > > From 6e20aad0c0b02c688f93ebc20b160f31c23adc82 Mon Sep 17 00

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

2025-06-02 Thread Richard Sandiford
c20b160f31c23adc82 Mon Sep 17 00:00:00 2001 > From: "H.J. Lu" > Date: Sat, 31 May 2025 08:42:21 +0800 > Subject: [PATCH] Also check function symbol for function declaration > > Since not all CALL instructions in RTL passes have a REG_CALL_DECL note, > update get_call_fnd

[PATCH] Also check function symbol for function declaration

2025-05-31 Thread H.J. Lu
ay 2025 08:42:21 +0800 Subject: [PATCH] Also check function symbol for function declaration 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_