On 09/14/15 04:11, Bernd Schmidt wrote:
This looks like it could potentially go into sese.c instead.
yeah, I looked at that to see if it had any goodies -- AFAICT it does
processing of already-identified SESE regions. It could certainly be abstracted
to there, if there are more general nee
On 09/11/2015 11:49 PM, Nathan Sidwell wrote:
This patch implements that optimization. As the comment at the head of
the code says, we first find 'cycle-equivalent' BBs. These are ones
that we determine are in the same (set of) loops, in the closed graph.
Such equivalent BBs form the entry and
One optimization one can apply to the worker & vector neutering that the PTX
backend does, is to neuter Single-Entry, Single-Exit regions, rather than
individual BBs. An SESE region in a region bounded by a single entry BB and a
single exit BB. (A single BB is a trivial SESE region). Findi