Session Type
Technical Talk
Date & Time
Wednesday, April 10, 2024, 5:15 PM - 5:45 PM
Name
Teaching MLIR concepts to undergraduate students
Location Name
PSC I-III
Abstract/s
We present a compiler from a simple programming language to RISC-V, implemented entirely in MLIR. We use this course to teach undergraduate students at the University of Edinburgh modern compilation concepts and tools. Our course guides students through the whole compilation pipeline, from parsing to assembly generation, with all intermediate representations represented as MLIR IR. We provide the students with dialects for each intermediate representation (AST, ChocoPy, RISC-V SSA, RISC-V), and ask them to implement parsing, verification, lowering, and optimization passes. We talk in detail about the structure of this course.
Speakers
Moderator
Bea Healy