Registers are faster to access than
memory
• Operating on memory data requires loads and stores
– More instructions to be executed
• Compiler must use registers for variables as much as possible
– Only spill to memory for less frequently used variables
– Register optimization is important!