Loop-invariant code motion: Difference between revisions

Content deleted Content added
New External links section with link to http://www.compileroptimizations.com/category/hoisting.htm
Line 34:
 
However, if too many variables are created, there will be high [[register pressure]], especially on processors with few registers, like the 32-bit [[x86]]. If the compiler runs out of registers, some variables will be [[register spilling|spilled]]. To counteract this, the inverse optimization can be performed, [[rematerialization]].
 
==See also==
* [[Loop invariant]]
 
==Further reading==