Whole program optimization and functions-only-called-once.

Jan Hubicka hubicka@ucw.cz
Sat Nov 21 17:57:00 GMT 2009


> 
> I think Tom patched GCC to inline every called-once function into a gigantic
> main function and the ineffiency is not from recording exit edges but from
> allocating the IRA bitmaps for each loop in advance (compared to for
> BBs where we seem to set them simply to NULL).

Yep, I don't expect patch to solve the problem, just it seemed natural thing to
do since enumeration of exists is quite ineffecient otherwise (O(loop body
size) instead of O(num exists))
> 
> Richard.



More information about the Gcc-patches mailing list