https://github.com/sam-mccall commented: Thanks, this looks really close to me! Tried to focus on how the components fit together, the details of module building and reuse can easily be tweaked later if needed. https://github.com/llvm/llvm-project/pull/66462