[llvm-dev] Commit module to Git after each Pass

Alex Bradbury via llvm-dev llvm-dev at lists.llvm.org
Wed Mar 14 13:57:38 PDT 2018


On 14 March 2018 at 20:51, Philip Reames via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> This is interesting, and might be useful.  I don't know that this is broadly
> useful enough for upstream inclusion, but if you could post this to github
> somewhere, I might play with it.
>
> There might also be room to factor out common functionality.  We've also run
> into the need to print whole-module instead of containing construct (i.e.
> this loop).  If we added upstream support for something along the lines of
> -print-module-after-all, building the git history could easily be done as a
> post processing step.

Alexandre posted the patch here https://reviews.llvm.org/D44244

I made a similar suggestion regarding handling this as a
post-processing step. I like your proposed -print-module-after-all
name.

Best,

Alex


More information about the llvm-dev mailing list