summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/StructurizeCFG/nested-loop-order.ll
Commit message (Collapse)AuthorAgeFilesLines
* Fix CHECK directives that weren't checking.Hans Wennborg2015-08-311-1/+1
| | | | llvm-svn: 246485
* StructurizeCFG: Use a reverse post-order traversalTom Stellard2015-02-041-0/+79
We were previously doing a post-order traversal and operating on the list in reverse, however this would occasionaly cause backedges for loops to be visited before some of the other blocks in the loop. We know use a reverse post-order traversal, which avoids this issue. The reverse post-order traversal is not completely ideal, so we need to manually fixup the list to ensure that inner loop backedges are visited before outer loop backedges. llvm-svn: 228186
OpenPOWER on IntegriCloud