Question: rt b. optimize code using common sub expression and variable propagation. i=1 j=b a1:=3+1 y=x[a ] a 2:3+1 Q3:=4+j Q. 4= x[a 3] x[a 2]=

rt b. optimize code using common sub expression and variable propagation. i=1 j=b a1:=3+1 y=x[a ] a 2:3+1 Q3:=4+j Q. 4= x[a 3] x[a 2]= 24 as 4+j x[as] =y C=x[y]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
