r/Compilers • u/Usual_Structure2818 • May 15 '26
Standard Optimizations using SSA form
I was trying to look at all optimizations that use SSA. I could find many such as DCE, LICM, GVN, PRE, however the standard books such as the Dragon Book or Muchnick don't mention the algorithms or examples explicitly using SSA programs. I could only find PRE, GVN given in SSA.
Where can I find the actual SSA implementations explicitly.
Both GCC, LLVM have these implemented in SSA form however the explicit implementation details are not found.
22
Upvotes
View all comments
Show parent comment
3
u/Usual_Structure2818 May 16 '26
I found it in SSA Design Book, Modern Compilers Implementation in C(Tiger Book), Engineering a Compiler.
Apart from these try searching papers by Wegman, Zadeck they have many SSA based papers