On Thu, Jun 30, 2016 at 03:51:20PM +0200, Richard Biener wrote: > The following patch fixes PR71632 by removing delayed expansion of > TERed defs. Instead it adds code to apply the scheduling effect > to the GIMPLE IL (so you also get better interleaved GIMPLE stmt > / generated RTL dumps in .expand).
Does anything from TER survive after this patch? I thought the whole point was that the expansion can see through the SSA_NAMEs and optimize based on that, by not seeing through them it doesn't, or if it somewhere still uses get_gimple_for_ssa_name, if the definition will be already expanded, it might expand stuff multiple times. Jakub