If we generate a register that gets initialized with a constant and never gets assigned to elsewhere, we could instead replace that register in generated C with the constant value. This might help with compile speed, and it could make the generated C easier to read by humans.
The savings would be two lines of C per register we can optimize away:
If we generate a register that gets initialized with a constant and never gets assigned to elsewhere, we could instead replace that register in generated C with the constant value. This might help with compile speed, and it could make the generated C easier to read by humans.
The savings would be two lines of C per register we can optimize away: