RegionInfo Question

Why aren’t polly.merge and entry in the same color region in the attached file?

What I’m looking to do is match up a control flow to it’s end merge point. This is simple to do based on preds providing each block is in an independent path; however, this is not always the case.

RegionInfo_loop (3.09 KB)

Why aren't polly.merge and entry in the same color region in the
attached file?

Even though polly.merge terminates the green region, it is itself not part of the green region. The green region is left right before entering polly.merge. There may be other edges, that enter polly.merge
but that are not part of the green region.

What I'm looking to do is match up a control flow to it's end merge
point.
This is simple to do based on preds providing each block is in an
independent path; however, this is not always the case.

I do not get this paragraph. Could you try to rephrase?

Cheers
Tobi