(a) What is DAG ? What are its advantages in context of optimization…

Previous year question for Compiler Design.

Question

(a) What is DAG ? What are its advantages in context of optimization ? How does it help in elimination of common subexpression ? Show the DAG for the statement : $Z=X-Y+Y*U-V/W+X+V$

(b) Describe the role by Use-Definition Chaining.

Related pages

More PYQs on DAG Representation of Basic Blocks

Open on CachedInfo