Difference between local and global optimization in compiler design
Answers
Answered by
15
Hey frnd .....
here ur answer ↟↟↟↟↟↟↟↟↟↟↟↟
here ur answer ↟↟↟↟↟↟↟↟↟↟↟↟
Attachments:
Answered by
12
Local optimization is the optimization which is performed on
basic block levels, whereas Global optimization is performed on procedural level, within one procedure.
Basic block is a sequence of instructions which has only one entry and exit point.
Local optimization tries to optimize instructions based on one basic
block. Global optimization also takes the control flow of the basic blocks.
Similar questions