On Mon, 03 Feb 2003, Lars Segerlund wrote:
Specificly I would like to know if the existing GIMPLE format allows
restrictions on what optimizations are allowed and over which regions ?
No. And it shouldn't. GIMPLE is just syntax specification. The
semantics of the parallel region must be understood by the
optimizers. It's not that hard, really. At worst, all you do in
tree-optimize.c:optimize_function_tree() is:
if (function_contains_parallel_regions)
return;
If the GIMPLE format allows us to restrict optimizations to a
parrallell region, ( not to cross over it's borders ), we don't have to
modify the GIMPLE tree's.
There's nothing in the structure of trees that does this. I
don't understand why you don't want to modify the trees. You
cannot describe parallel regions if you don't have the tree codes
to support them.
Diego.
_______________________________________________
Gomp-discuss mailing list
address@hidden
http://mail.nongnu.org/mailman/listinfo/gomp-discuss