Index: llvm/docs/LoopTerminology.rst =================================================================== --- llvm/docs/LoopTerminology.rst +++ llvm/docs/LoopTerminology.rst @@ -144,7 +144,15 @@ Loop Simplify Form ================== -TBD +The Loop Simplify Form is a canonical form that makes +several analyses and transformations simpler and more effective. +For a loop to be in Loop Simplify Form, it must have: + +* A preheader. +* A latch which must also be the only backedge. +* Dedicated exists. That is, no exit block for the loop + has a predecessor that is outside the loop. This implies + that all exit blocks are dominated by the loop header. Loop Closed SSA (LCSSA)