Computer Science, asked by Jrajesh1602, 1 year ago

Difference between local and global optimization in compiler design

Answers

Answered by kalpna1000000
15
Hey frnd .....

here ur answer ↟↟↟↟↟↟↟↟↟↟↟↟
Attachments:
Answered by PravinRatta
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