[llvm-dev] Strange Machineinstr
Francis Visoiu Mistrih via llvm-dev
llvm-dev at lists.llvm.org
Fri Jun 15 11:27:30 PDT 2018
Here is the LangRef equivalent for MIR: http://llvm.org/docs/MIRLangRef.html.
If you find anything unclear don’t hesitate to put a patch up and add me as a reviewer, I’ll be happy to help!
> On Jun 15, 2018, at 10:14 AM, Muhui Jiang via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> I see. I will do that! Thanks!
> Krzysztof Parzyszek <kparzysz at codeaurora.org>于2018年6月16日 周六上午1:09写道：
> On 6/15/2018 11:58 AM, Muhui Jiang wrote:
> > Is it possible to dump both the frame setup/cleanup MIR and the MIR I
> > have at this moment?
> You can dump the MIR after each pass with -mllvm -print-after-all. Look
> for "Prologue/Epilogue Insertion”.
You can also use -print-after=prologepilog for the specific pass, or even llc -stop-after=prologepilog to dump a MIR file that can be re-parsed by llc -start-after=prologepilog.
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
> hosted by The Linux Foundation
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
More information about the llvm-dev