Question

If an expression `x = a + b` is computed, and later in the same basic block, `y = a + b` is computed, a compiler can apply which optimization?

A Constant Propagation
B Dead Code Elimination
C Common Subexpression Elimination (CSE)
D Loop Invariant Code Motion
E Strength Reduction
Practice Next

Hey! Ask a query