in Compiler Design
6,496 views
6 votes
6 votes

Substitution of values for names (whose values are constants) is done in

  1. Local optimization
  2. Loop optimization
  3. Constant folding
  4. Strength reduction
in Compiler Design
6.5k views

1 Answer

8 votes
8 votes
Best answer

Constant folding 

Constant folding is the process of recognizing and evaluating constant expressions at compile time rather than computing them at runtime.

selected by

2 Comments

an answer should be local optimization

let's take an example:-

–1
–1
Is This answer correct? i think what question asks for is Constant Propogation innit?
0
0
Answer:

Related questions