Maybe this has has already been covered, by I would not target LLVM IR in 2024.
I'd target MLIR (like Mojo does).
1. It's a much easier/better target to work with.
2. It's a strict super-set of LLVM IR.
3. Much better optimizations are possible that are specific to your language.
Separately, I'd love to have a Clojure-friendly interface to MLIR—whether via Jank or something else.
replies(1):