Skip to content
Commit 8362c261 authored by Tobias Grosser's avatar Tobias Grosser
Browse files

Define buildScheduleRec on RegionNodes and pull out the tree traversal [NFC]

This change clarifies that for Not-NonAffine-SubRegions we actually iterate over
the subnodes and for both NonAffine-SubRegions and BasicBlocks, we perform the
schedule construction. As a result, the tree traversal becomes trivial, the
special case for a scop consisting just of a single non-affine region
disappears and the indentation of the code is reduced.

No functional change intended.

llvm-svn: 256940
parent 8f9d180f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment