COMP 512: Advanced Compiler Construction

Professor Keith D. Cooper
Department of Computer Science
Rice University
Houston, Texas, USA
Spring 2009: Room 105, Keck Hall, Monday, Wednesday, Friday, 10am


This page contains the specifications for the various laboratory assignments in COMP 512. Questions regarding the labs should be directed to David Peixotto, our able teaching assistant.

Lab Assignments

  1. Lab 0: Download and set up LLVM on your computer
    Due January 26, 2008

    In this lab, you will obtain a copy of the LLVM compiler system, compile it, and install it on your own machine. You may use OwlNet for the labs in this course, or you may work on your own computer. If neither of those seem attractive, contact me and we will make other arrangements.

  2. Lab 1: Live Variables Analysis
    Due February 25, 2008

    In this lab, you will compute liveness information for programs that have been translated into the LLVM intermediate representation. From that data, you will produce a statistical summary of demand for registers. You will also experiment with the impact of optimization on demand for registers.

This site is maintained by Keith D. Cooper.
He is a terrible e-mail correspondent.