[PATCH] D30913: [NFC] Feature generic options to setup start/stop-after/before
Matthias Braun via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 27 15:31:10 PDT 2017
MatzeB added a comment.
In https://reviews.llvm.org/D30913#823281, @MatzeB wrote:
> In https://reviews.llvm.org/D30913#823248, @tstellar wrote:
> > It would be nice to get this into the 5.0 release, there have been a few times I've needed this functionality for debugging.
> Note that in the current form it's not magically working for any frontend like you would expect: The MIR printing and verification at the end of a pipeline or loading a MIR file at the beginning of a pipeline is still done in `llc` even with this patch and would need to replicate that code in other frontends.
> (If you're gonna adapt your frontends anyway, then you can do that even without this pass :)
Just reread the code and actually the MIR printing at the end of the pipeline (in -stop-xxx mode) is there.
More information about the llvm-commits