Programming, philosophy, pedaling.

LLVM internals, part 5: a very brief update

Apr 30, 2022     Tags: llvm, rust     Series: llvm-internals

In the interest of keeping my minimum once-a-month blog post streak going, this is just a brief update post on the status of mollusc. I’ll divide it up into two aspects: internal refactoring aimed at making development (especially external contribution!) simpler, and feature changes that bring the project closer to meaningfully parsing and modeling LLVM IR.

Internal refactoring

The last update was in November, and a good deal of refactoring has happened since then:

Feature changes


Like I said, this is meant to be a very short post. You probably didn’t get a lot of value out of it, and that’s okay! More will be coming soon.

In other news: LLVM merged my changes in D108438, which make it much easier to dump the AST within LLVM’s LLVMBitCodes.h header. That, in turn, will make it possible for me to write some awful magic code generation scripts that should largely automate the process of keeping mollusc’s core enums and constants in sync with LLVM.

Discussions: Reddit Twitter