[PATCH] D40874: [LV][LoopInfo] Add irreducible CFG detection for outer loops

Diego Caballero via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 13 14:37:05 PST 2017


dcaballe added a comment.

Ping :)

If you are OK with the proposed algorithm, I would appreciate feedback on where to refactor the 'isIrreducibleCFG' utility function for Loop and MachineLoop.
As I mentioned, LoopBase could be a good candidate. This utility function would be similar to isRecursivelyLCSSAForm implemented in Loop class.
Does it sound reasonable?

Thanks!
Diego


https://reviews.llvm.org/D40874





More information about the llvm-commits mailing list