[PATCH] D22959: MachineLoopInfo: add methods findLoopPreheader and getExitingBlock

Sjoerd Meijer via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 5 09:05:20 PDT 2016


SjoerdMeijer added a comment.

Hi, thanks a lot for the info, that is very useful, and I am glad you like the idea of moving some of the code! I really think it is going to be useful.

I will take your feedback on board and create a new patch early next week for factoring out these 2 functions (as a first exercise). Then I will see if can take a slightly bigger chunk in one go to get the LoopTripCount function factored out.

Cheers,
Sjoerd.


https://reviews.llvm.org/D22959





More information about the llvm-commits mailing list