I don't understand your point. Can you elaborate?
There are currently 4 add instructions in the IR (and 3 of each other arithmetic instruction). One for untyped values, one for integer values, one for floating-point, and one for integer add with overflow.
I am considering merging the untyped, integer and floating-point instructions (but not the add with overflow) into a single IR instruction. This would simplify the IR itself, and the production of IIR code.
- Maxime