Reading up on SSA stuff again because it's been a few years since I last poked at this...

"A Gentle Introduction to LLVM IR"
https://mcyoung.xyz/2023/08/01/llvm-ir/
Reminded me that LLVM initially leaves locals in stack allocated slots and then "promotes" them in the mem2reg pass.

"A catalog of ways to generate SSA"
https://bernsteinbear.com/blog/ssa/
New since I last looked, links to a selection of papers.

"SSA-based Register Allocation"
https://compilers.cs.uni-saarland.de/projects/ssara/

#Projects #Compiler

A Gentle Introduction to LLVM IR · mcyoung

@swetland my compiler has a couple development documents that go into SSA, IR generation, and more, if you want to see an idiot's approach vs a scholar's