Ask HN: LLVM Book to Get Started

28 points by amir734jj ↗ HN
I am familiar with compilers but I have never had a chance to learn LLVM beside making simple examples. What is the good get started.

5 comments

[ 2.9 ms ] story [ 24.9 ms ] thread
There are a couple of good ones at Packt.
"Transformers for Natural Language Processing" by Denis Rothman on Packt is a good one.

Make sure to get the 2nd edition for the coverage of newer models, particularly the ones from Hugging Face.

Everything I've read from Denis is really good. He's great at explaining complex topics in ways that are straightforward and digestible.

I think OP was referring to the LLVM compiler tools, not the LLM (Large Language Model)
You might already be advanced beyond high-level introductory material, but this short book chapter by Chris Lattner himself was a good read for me (a casual reader, not a compiler expert).

http://aosabook.org/en/llvm.html