
LLVM Code Generation
A deep dive into compiler backend development
Created by Quentin Colombet
Explore the inner workings of compiler backend development using LLVM. Gain hands-on experience building and extending backends for X86 and AArch64, and learn how to contribute to the LLVM open-source project. Develop practical skills that are essential for modern compiler design.
Packt | May 2025 | 620 min
What You Will Learn
You will follow a step-by-step path, starting with foundational concepts and moving into practical backend development. Through real-world examples and targeted exercises, you'll learn how to transform LLVM IR into assembly code, explore key concepts like ABI and register allocation, and apply these skills to actual backend projects.
Key Features
- Build and extend LLVM backends for custom compiler features and hardware targets
- Optimize code by working directly with LLVM's Intermediate Representation
- Develop debugging skills for LLVM optimizations and contribute to open-source projects
Target Audience
Ideal for software engineers, compiler developers, and advanced students with some experience in programming and basic compiler concepts. Whether you're new to LLVM or looking to deepen your expertise, you'll find clear guidance and practical strategies for building robust compiler backends and contributing to the LLVM community.





