M6: Compiler Optimizations

In this final module, you we will explore a the optimizer portion of the compiler and discuss how one implements various optimizations in the middle component of the compiler.

Pre-recorded Lectures

Professor Samuels may post additional videos for topics that were able to cover during the synchronous session related to compiler optimizations.

  • 6.0: Dataflow Analysis

  • 6.1: Compiler Optimizations

The slides/code presented in the synchronous session are accessible in the upstream repository under the m6/resources directory. Please reachout to me if you do not have access to this repository.

Supplementary Resources

  • Engineering a Compiler readings:
    • Chapter 8.1 - 8.4.1

Synchronous Session (Remote)

You will find the links to the Zoom sessions on Canvas. As a reminder here are the dates and times for the synchronous session for this module:

  • Dates/Times
    • Section 1: Wednesday August 9th @ 5:30pm-7:00pm

  • Discussion Outline
    • Register Allocation via Graph Coloring

    • Open office hours [if time permits]

Assignment

Assignments are always due on Wednesday evenings.