[PATCH] D15922: [NOP][Cloning] Add comment to cloneLoopWithPreheader() mentioningthat it does not update LoopInfo for sub-loops.

Adam Nemet via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 12 21:28:20 PST 2016


anemet added a comment.

Good point, thanks.

Can you please also add an assert to check that there are no subloops in OrigLoop?

We could also rename the function to cloneInnerLoopWithPreheader?


http://reviews.llvm.org/D15922





More information about the llvm-commits mailing list