Re: [PATCH] Limit alias walking by speculative devirt

2016-03-30 Thread Richard Biener
On Wed, 23 Mar 2016, Richard Biener wrote: > > This reduces the compile-time for the testcase from PR12392 from > ~50s to ~35s, dropping the alias-stmt walking time from 40% to around 8%. > > Currently (even when -fno-devirtualize-speculatively - heh) when > looking for a must-def that specifies

[PATCH] Limit alias walking by speculative devirt

2016-03-23 Thread Richard Biener
This reduces the compile-time for the testcase from PR12392 from ~50s to ~35s, dropping the alias-stmt walking time from 40% to around 8%. Currently (even when -fno-devirtualize-speculatively - heh) when looking for a must-def that specifies the dynamic type of an object we invoke a virtual call