Content deleted Content added
MathsPoetry (talk | contribs) for consistency |
MathsPoetry (talk | contribs) |
||
Line 26:
==Invariant code detection==
Usually a [[Reaching definition|reaching definitions analysis]] is used to detect whether a statement or expression is loop invariant.
For example, if all reaching definitions for the operands of some simple expression are outside of the loop, the expression can be moved out of the loop. ==Benefits==
|