[gomp4] PTX partition discovery cleanup
Fri Sep 11 19:43:00 GMT 2015
This preliminary patch changes PTX's loop discovery to use a recursive DFS walk,
rather than a worklist.
The significant changes, from the POC of the next patch I'll be committing are:
1) always insert a 'fork' insn, which keeps the entry to a partitioned region as
a possible Single-Entry-Single-Exit exit node.
2) don't add the ENTRY bb to the null loop that contains the entire function.
both #1 and #2 help with the SESE optimization I've been working on.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7576 bytes
Desc: not available
More information about the Gcc-patches