0 votes 0 votes Question.Construct the Dag for the following Assume that + is left associative? a)a+b+(a+b) b)a+b+a+b c)a+a+(a+a+a+(a+a+a+a)) Please give the Answer to these questions????? Compiler Design compiler-design code-optimization directed-acyclic-graph + – saumya mishra asked Jun 13, 2018 • retagged Jun 18, 2022 by Lakshman Bhaiya saumya mishra 9.8k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes dag use to eliminate common subexpression eyeamgj answered Jun 13, 2018 eyeamgj comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes DAG gives a picture of how the value is computed by each statement in the TAC. Kajal Khobragade answered Jun 13, 2018 Kajal Khobragade comment Share Follow See all 0 reply Please log in or register to add a comment.