mijit
mijit copied to clipboard
Allow operands of Mijit instructions to be immediate constants
Currently, you have to use a special Constant
instruction to put an immediate constant in a register, then use the register as an operand. This is not easy to lower to efficient x86 code (using an immediate constant) and it also fails to represent that there is no need to allocate a register for the constant.