Back to the 2022 paper

Module 4 : Intermediate Code Generation & Code Improvement

20227m

What is basic block in the graph representation of intermediate codes. Construct DAG for the basic block given below. Also optimize the three address code, assuming only aa is live on exit from the block.
d=bcd = b * c
e=a+be = a + b
b=bcb = b * c
a=eda = e - d

Similar questions