+++ title = "Register Allocation" author = "Yann Herklotz" tags = [] categories = [] backlinks = ["1c4", "1c2g", "1c"] forwardlinks = ["1c6", "1c5a"] zettelid = "1c5" +++ Register allocation is an optimisation that is vital to fit the program onto a CPU, by allocating the registers that will be used for each virtual registers. This was mostly taken from Wikipedia [^1] [^1]: