Hi, with LTO getting closer it is obvious that IPA infrastructure needs work and also is getting more interesting ;)
I don't think it makes sense to do all the work on LTO branch that contains a lot of temporary stuff, so I've created pretty-ipa branch that unlike LTO branch is targetted to merge very early in next stage1 and hopefully will make LTO branch merge in late stage1 smoother. So pretty-ipa is place for cleanups, infrastructure improvements and new passes that do make sense on mainline or do make LTO/WHOPR easier. I plan to do there some of work that was already discussed, such as making IPA pass of nothrow/noreturn flags, rewriting inliner heuristics to be more sane and scale better for large units, adding infrastructure for clonning so IPA-CP can be WHOPReized. Everyone is welcome to send patches too ;) Martin is working on function call regularization, Tomas on dead argument removal. I would like to merge the branch by splitting it to independent patches as usually instead of merging it all at once so I would preffer if the changes was resonably self contained, but it depends on the individual cases. Honza