Which of the optimization technique is applied to this code :
Before optimization:
while (i < = limit - 2)
After optimization:
t = limit – 2
while(i <= t)
1
Strength reduction
2
Code motion
3
Dead code elimination
4
Unreachable code
Which of the optimization technique is applied to this code :
Before optimization:
while (i < = limit - 2)
After optimization:
t = limit – 2
while(i <= t)