recategorized by
593 views
1 votes
1 votes

Some code optimizations are carried out on the intermediate code because:

  1. they enhance the portability of the compiler to other target processors
  2. program analysis is more accurate on intermediate code than on machine code
  3. the information from data flow analysis cannot otherwise be used for optimization
  4. the information from the front end cannot otherwise be used for optimization
recategorized by

1 Answer

0 votes
0 votes

 

Program analysis is more accurate on intermediate code than on machine code. It is also correct but the most optimal answer is A .

 

A. They enhance the portability of the compiler to other target processors ..

Answer:

Related questions

1 votes
1 votes
1 answer
1
gatecse asked Dec 9, 2020
446 views
Which of the following is not true for tree and graph?A tree is a graphA graph is a treeTree can have a cycleTree is a $\text{DAG}$
1 votes
1 votes
1 answer
2
gatecse asked Dec 9, 2020
455 views
Peephole optimization is a :Loop optimizationLocal optimizationConstant foldingData flow analysis
1 votes
1 votes
3 answers
4
gatecse asked Dec 9, 2020
665 views
In case of the dynamic programming approach the value of an optimal solution is computed in :Top down fashionBottom up fashionLeft to Right fashionRight to Left fashion