This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


> 
> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]