Normalized loop: Difference between revisions

Content deleted Content added
JoshStith (talk | contribs)
m I fixed three tiny grammatical errors. Changed "which" to "in which," "get" to "gets," and "behaviour" to "behavior."
Line 1:
In [[computer science]], a '''normalized loop''' (sometimes called well-behaved loop), is a loop in which the loop variable starts at 0 (or any constant) and getgets incremented by one at every iteration until the exit condition is met. Normalized loops are very important for [[compiler theory]], [[loop dependence analysis]] as they simplify the [[data dependence]] analysis.
 
==Well-behaved loops==
Line 32:
</source>
 
Loops can also have non-predictable behaviourbehavior during compilation time, where the exit condition depends on the contents of the data being modified:
 
<source lang=c>