aboutsummaryrefslogtreecommitdiff
path: root/todo.txt
diff options
context:
space:
mode:
Diffstat (limited to 'todo.txt')
-rw-r--r--todo.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/todo.txt b/todo.txt
new file mode 100644
index 0000000..63916b2
--- /dev/null
+++ b/todo.txt
@@ -0,0 +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.