Re: [PATCH] ICF: compare type attributes for gimple_call_fntypes.

2020-04-03 Thread Martin Liška
On 4/2/20 7:17 PM, Christophe Lyon wrote: On Thu, 2 Apr 2020 at 17:16, Martin Liška wrote: Hi. The patch compares type attributes for gimple_call_fntypes in IPA ICF. Note that we were unable to find a generic function attribute that can be used on a function type definition. For a one which

Re: [PATCH] ICF: compare type attributes for gimple_call_fntypes.

2020-04-03 Thread Richard Biener via Gcc-patches
On Thu, Apr 2, 2020 at 5:16 PM Martin Liška wrote: > > Hi. > > The patch compares type attributes for gimple_call_fntypes in IPA ICF. > Note that we were unable to find a generic function attribute that > can be used on a function type definition. > > For a one which is allowed assume_aligned(16)

Re: [PATCH] ICF: compare type attributes for gimple_call_fntypes.

2020-04-02 Thread Christophe Lyon via Gcc-patches
On Thu, 2 Apr 2020 at 17:16, Martin Liška wrote: > > Hi. > > The patch compares type attributes for gimple_call_fntypes in IPA ICF. > Note that we were unable to find a generic function attribute that > can be used on a function type definition. > > For a one which is allowed assume_aligned(16) I

[PATCH] ICF: compare type attributes for gimple_call_fntypes.

2020-04-02 Thread Martin Liška
Hi. The patch compares type attributes for gimple_call_fntypes in IPA ICF. Note that we were unable to find a generic function attribute that can be used on a function type definition. For a one which is allowed assume_aligned(16) I get affects_type_identity == false which seems suspicious to m