Constant Folding

Constant folding

Constant folding and constant propagation are compiler optimizations used to improve code efficiency. Sparse conditional constant propagation is an advanced form of this optimization which can more accurately propagate constants and remove dead code.

1 courses cover this concept

CS 164: Programming Languages and Compilers

UC Berkeley

Fall 2022

Explores how compilers translate high-level languages into machine-understandable code, offering practical experience with developing compilers for various languages. Also covers reasoning about compiler correctness and understanding runtime errors.

No concepts data

+ 28 more concepts