[llvm-dev] Commit module to Git after each Pass
Matt Arsenault via llvm-dev
llvm-dev at lists.llvm.org
Fri Jun 15 04:20:18 PDT 2018
> On Jun 14, 2018, at 23:48, mbraun via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> FWIW: We could also just have a mode that dumps 1 file per pass. That is enough to make it convenient/easy to run diff between passes.
> (And if you wanted to you could still make a git repository out of it with an external script).
> - Matthias
This would be a good option to make -print-before/after a lot more useful for function passes. It’s annoying to not be able to directly use the IR printed from these for anything since it’s missing the global function and metadata declarations
More information about the llvm-dev