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
Paths
| Differential D25868
Loop Utils: Cloning any level loop nest Needs ReviewPublic Authored by mivnay on Oct 21 2016, 4:18 AM.
Revision Contents
Diff 75410 lib/Transforms/Utils/CloneFunction.cpp
|