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: Fix PR rtl-optimization/15242 - duplicate computed gotos


> > this patch duplicates computed gotos so that there are no jumps to
> > computed jumps. This has a positive impact on performance.
> > The duplication is done as late as possible because it makes a dense CFG.
> 
> Is this intended to run when basic-block reordering is otherwise
> disabled?  Because this is intended to happen already at -O2...

basic-block reordering avoids creating dense CFGs because other
optimizations would consume much time so this is needed even
if basic-block reordering is enabled.

Josef


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