[LLVMdev] Make LoopBase inherit from "RegionBase"?
Jan Sjodin
jan_sjodin at yahoo.com
Thu Jan 21 11:42:26 PST 2010
>> Imo, a loop is simply a special kind of region, so a "filter" is perhaps the way to
>> go if you are interested in loops. Regions containing loops will have to be inspected
>> using the PST.
>
> Except loops that have multiple exits. they are not necessarily (single
> entry single exit) region, if the exists do not jump to the same exit bb.
Yes, my assumption was to classify structured loops, but that does not exclude unstructured
regions that contain unstructured loops.
More information about the llvm-dev
mailing list