summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/LoopSimplify/preserve-llvm-loop-metadata2.ll
Commit message (Collapse)AuthorAgeFilesLines
* Revert r346810 "Preserve loop metadata when splitting exit blocks"Reid Kleckner2018-11-141-48/+0
| | | | | | | It broke the Windows self-host: http://lab.llvm.org:8011/builders/clang-x64-windows-msvc/builds/1457 llvm-svn: 346823
* Preserve loop metadata when splitting exit blocksCraig Topper2018-11-131-0/+48
LoopUtils.cpp contains a utility that splits an loop exit block, so that the new block contains only edges coming from the loop. In the case of nested loops, the exit path for the inner loop might also be the back-edge of the outer loop. The new block which is inserted on this path, is now a latch for the outer loop, and it needs to hold the loop metadata for the outer loop. (The test case gives a more concrete view of the situation.) Patch by Chang Lin (clin1) Differential Revision: https://reviews.llvm.org/D53876 llvm-svn: 346810
OpenPOWER on IntegriCloud