diff options
author | Tobias Grosser <tobias@grosser.es> | 2016-01-06 15:30:06 +0000 |
---|---|---|
committer | Tobias Grosser <tobias@grosser.es> | 2016-01-06 15:30:06 +0000 |
commit | 8362c26113d0384cd1992392df184139d10fa0e8 (patch) | |
tree | 30703750c81e47da41183221361bde44b763e473 /llvm/lib/CodeGen/MachineFunctionPrinterPass.cpp | |
parent | 8f9d180f0925fd8bb11cabe8bed91c98592d11e4 (diff) | |
download | llvm-8362c26113d0384cd1992392df184139d10fa0e8.zip llvm-8362c26113d0384cd1992392df184139d10fa0e8.tar.gz llvm-8362c26113d0384cd1992392df184139d10fa0e8.tar.bz2 |
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
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionPrinterPass.cpp')
0 files changed, 0 insertions, 0 deletions