aboutsummaryrefslogtreecommitdiff
path: root/todo.txt
blob: 63916b2b1f1de467aa5e22093c47e11b5fe81a7b (plain)
1
2
- Move arguments to a temporary at the beginning of the function. If it's only read, it's constant propagated everywhere and the situation is exactly the same as before (arguably not perfect, but still). Otherwise, you have it in a register and you're happy.
  Only situation where this is *worse* is if that temp is then spilled. This is only one memory move at the function entry then, which is not that bad.