The 'linearisation' step of tiling is more complex than might seem at first sight. This results from the work that is done between emitting the code for each tile, which sometimes uses the tree structure directly. That work consists of the following things:
- Ensuring operand values are loaded into registers
- inserting loads
- Ensuring a register is assigned for the result of an operation,