Algorithms for Compiler Design: USING DAG FOR CODE GENERATION
To rearrange the final computation order for more-efficient code-generation, we first obtain a DAG representation of the basic block, and then we order the nodes of the DAG using heuristics. Heuristics attempts to order the […]