This is an archive of the discontinued LLVM Phabricator instance.

Loop Utils: Cloning any level loop nest
Needs ReviewPublic

Authored by mivnay on Oct 21 2016, 4:18 AM.

Details

Reviewers
anemet
hfinkel
Summary

Currently, only inner-most loops are allowed to be cloned. This changes the cloneLoopWithPreheader() function to clone any level loop. This also updates the DominatorTree and LoopInfo.

Thanks,
Vinay Madhusudan,
Compiler Tree Technologies

Diff Detail

Event Timeline

mivnay updated this revision to Diff 75410.Oct 21 2016, 4:18 AM
mivnay retitled this revision from to Loop Utils: Cloning any level loop nest.
mivnay updated this object.
mivnay added reviewers: hfinkel, anemet.
mivnay added a subscriber: llvm-commits.