
LLVM Code Generation: Compiler Backend Development
Development: LLVM Code Generation is a technical book about developing LLVM compiler backends, from core compiler concepts to translating LLVM IR into assembly and object files. Its examples and exercises cover backend construction, optimization, instruction selection, and practical LLVM workflows.
At a glance
- Explains how LLVM IR passes through backend stages to produce assembly and object files.
- Builds understanding through a toy backend, practical examples, and chapter exercises.
- Covers ABI, cost models, register allocation, instruction selection, TableGen, MachineIR, and MC.
- Also addresses optimization, debugging LLVM passes, and contributing to open-source LLVM.
Reference price: $51.99
Price checked: Nov 14, 2026
View offerAhead of Black FridayExplore the selectionOften bought together
Pros and cons
Pros
- The backend focus connects compiler fundamentals with concrete LLVM infrastructure and code-generation stages.
- Exercises and practical examples provide ways to apply concepts while progressing through the material.
- Includes material for both newer LLVM users and experienced developers seeking deeper coverage of areas such as TableGen and MachineIR.
Technical specifications
8 specifications| Publisher | Packt Publishing |
|---|---|
| Publication date | May 23, 2025 |
| Language | English |
| Print length | 608 pages |
| ISBN-10 | 1837637784 |
| ISBN-13 | 978-1837637782 |
| Weight listed | 2.31 pounds |
|---|---|
| Dimensions | 7.5 x 1.4 x 9.25 inches |
Who is it for?
A good fit for
- Readers learning LLVM backend development and code generation.
- Compiler developers who want a reference for LLVM infrastructure, instruction selection, or register allocation.
- Students and practitioners interested in compiler concepts such as SSA, dominance, and ABI.
Less suited to
- Readers seeking a general-purpose programming guide unrelated to compilers or LLVM.
- Buyers looking for a short introduction rather than a substantial technical text.
Customer reviews on Amazon
- 5 stars
83% 83% - 4 stars
9% 9% - 3 stars
8% 8% - 2 stars
0% 0% - 1 star
0% 0%
Aggregate ratings are mostly in the five-star category, with some four- and three-star ratings also present. This provides a generally favorable but not unanimous signal. Without written feedback, the ratings do not show which parts readers valued or where they had concerns, so weigh them alongside the book's specific backend and LLVM focus.
Frequently asked questions
What parts of LLVM does the book cover?
The listing describes coverage of LLVM IR, optimization passes, TableGen, backend infrastructure, instruction selection, MachineIR, and the machine-code layer.
Does it include practical exercises?
The listing says each chapter includes targeted exercises and practical examples, with a toy backend developed through the book.
Who is the book intended for?
It is presented for both beginners to LLVM and experienced LLVM developers, including readers who want to explore less-documented backend areas.
What is the listed print length?
The listing gives a print length of 608 pages.
Alternative options

Crafting Interpreters
$38.35

Operating Systems: Three Easy Pieces
$27.99

Systems Performance (Addison-Wesley Professional Computing Series)
$57.41

Designing Data-Intensive Applications: The Big Ideas Behind Reliable, Scalable, and Maintainable Systems
$47.52

Writing a C Compiler: Build a Real Programming Language from Scratch
$39.00

Mastering Graphics Programming With Vulkan: Develop a modern rendering engine featuring GPU-driven rendering, advanced lighting, and ray tracing
$29.99

Agentic Coding with Claude Code: The everyday developer's guide to agentic coding with Claude Code
$32.78

Claude Code Visual Bible: A step-by-step guide to creating and publishing websites and mobile apps with AI
$26.99

Agentic Architectural Patterns for Building Multi-Agent Systems: Proven design patterns and practices for GenAI, agents, RAG, LLMOps, and enterprise-scale AI systems
$41.99

Yocto Cookbook: Practical recipes for building and maintaining production-ready embedded Linux systems
$29.99

Neural Rendering in Action: Build Modern Rendering Systems with Differentiable Rendering, NeRFs, and Gaussian Splatting
$44.99

Claude Visual Bible: A step-by-step, screenshot-by-screenshot guide to writing, researching, analyzing, and automating with Claude
$29.74

























