Hacker News new | ask | show | jobs
by vzaliva 1741 days ago
The author tries to figure out bravely some of LLVM IR concepts and get some of them right and some wrong (like mem2reg purpose). While I do not want to discurage this sort of exploration learning I want to point out that what he is clearly lacking is some CS fundamentals. Perhaps taking some compiler construction classes from here https://www.classcentral.com/search?q=compiler could made learning LLVM easier.

I also second a good point about LLVM examples and documentation being heavy on C/C++ API. I was also generating IR code from other language and found this C/C++ API focus annoying.