SPRUIG8J January 2018 – March 2024
For optimal evaluation, the compiler simplifies expressions into equivalent forms, requiring fewer instructions or registers. Operations between constants are folded into single constants. For example, a = (b + 4) - (c + 1) becomes a = b - c + 3.
This type of optimization is enabled by the --opt_level=0 and higher optimization settings.