LLVM Tutorial #19: "If" It Can Work

Published on Jun 20th 2020Duration: 19:44Watch on YouTube

In this series I walkthrough the LLVM "Kaleidoscope" Tutorial, where you follow step by step to create your first programming language frontend using LLVM as the backend. Last time we wrote finished up writing the code for implementing the if statement, but hit a snag at the end. This time we go into full debug mode and try to get it working. Can it work? As a bonus, we also explain a little about the formulation of SSA form in the the output code, and why it isn't non-trivial in our case.

Transcript

The following transcript was automatically generated by an algorithm.