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] |
Hi,
Attached is a patch to speed up thread_jumps by keeping a pointer to the last used element in the worklist.
This trick is used in cfganal.c:find_unreachable_blocks as well.
Note that we get to keep one fewer variables in innermost loops.
Should IVopts do this for us? Can you file a bug for this optimization since it seems like it should be doing it.
Thanks, Andrew Pinski
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |