Home | Notifications | New Note | Local | Federated | Search | Logout
Note Detail
Sun Microdevil Pte Ltd@koakuma@uwu.social (2026-11-09 21:35:44)
This is a rather odd request but
Does anyone know of a kind of materials in the "guided tour of LLVM" style?
Something focused on the backend side would be nice but even a more general one would be okay still~
Looking for something structured like "there's X, Y, and Z phases, Y runs first before X and Y, and if you wanna do such and such you hook into this and that callbacks of Z"
#AskFedi #LLVM
---Reply---
Q.U.I.N.N.@icedquinn@blob.cat (2026-11-09 21:38:46)
@koakuma i haven't seen one. i'm not sure how useful it would be, either, since LLVM is basically apple's c++ compiler that sometimes helps julia too.
gingerbill (odin bdfl) has commented about it. you /can/ try to use it as they documented it, but if you give it IR that isn't exactly clang-shaped, it will do stupid suboptimal things with it.
Reply
---Replies---
Sun Microdevil Pte Ltd@koakuma@uwu.social (2026-11-09 21:46:03)
@icedquinn Yes, but I'm not looking to write a frontend for it; that part I'll leave to people much smarter than me :)