[PATCH] D30913: [NFC] Feature generic options to setup start/stop-after/before
Quentin Colombet via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 27 19:43:30 PDT 2017
> On Jul 27, 2017, at 3:31 PM, Matthias Braun via Phabricator <reviews at reviews.llvm.org> wrote:
>
> 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.
Yeah, that was actually the motivation for looking into that in the first place :).
>
>
> https://reviews.llvm.org/D30913
>
>
>
More information about the llvm-commits
mailing list