in Compiler Design
410 views
1 vote
1 vote
Convert the following 3 address code to single Static Assignment.

a = b + c

d = d + a.
in Compiler Design
410 views

3 Comments

its already in SSA:

For valid SSA , variables on lhs must be distinct
3
3
Can you please explain the second instruction.

Is accessing does not consider for new variable assignment?
0
0
While converting from 3address to ssa,   temporary variables are added when multiple assignments to a single variable are performed. What's wrong if same variable is read and written in same instruction ?
0
0

Please log in or register to answer this question.

Related questions