[PATCH] Fix target clone indirection elimination (PR95778, PR95780)

2020-06-20 Thread Yichao Yu via Gcc-patches
The current logic seems to be comparing the whole attribute tree between the callee and caller (or at least the tree starting from the target attribute). This is unnecessary and causes strange dependency of the indirection elimination on unrelated properties like `noinline`(PR95780) and `visibi

Re: [PATCH] Fix target clone indirection elimination (PR95778, PR95780)

2020-06-22 Thread Richard Biener via Gcc-patches
On Sat, Jun 20, 2020 at 6:17 PM Yichao Yu via Gcc-patches wrote: > > > The current logic seems to be comparing the whole attribute tree between the > callee > and caller (or at least the tree starting from the target attribute). > This is unnecessary and causes strange dependency of the indirecti