aboutsummaryrefslogtreecommitdiff
path: root/docs/passes.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/passes.txt')
-rw-r--r--docs/passes.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/passes.txt b/docs/passes.txt
new file mode 100644
index 0000000..7d527a2
--- /dev/null
+++ b/docs/passes.txt
@@ -0,0 +1,7 @@
+1. Input -> SSA block parameter form
+2. First ABI lowering
+3. Boolean expression to branch conditions wherever possible (also sort operands
+wherever possible? so instead of 5 + i2 it becomes i2 + 5 or something?)
+4. SCCVN (+ weak value range instead of just constant propagation?)
+5. Register allocation
+6. Instruction selection (pattern matching?)