JDevlieghere added a comment. This needs tests and some polish but please let me know what you think of the general approach. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D79398/new/ https://reviews.llvm.org/D79398