<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 13 October 2016 at 09:19, Matt Arsenault via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
How are MIR passes supposed to deal with custom state tracked in the target’s MachineFunctionInfo? I’m trying to test a patch which checks a bit set in it during register allocation. If I just run the post-RA pass which checks it, it was never set in the newly constructed one. I’d rather not have every pass need to re-analyze some possibly tricky to detect situation to avoid using it<br></blockquote><div><br></div><div>Hi Matt,</div><div><br></div><div>I haven't looked into MIR since last year, so maybe this has changed, but AFAIK there's no way to serialize target's custom machine function info state. I think I was working on patches that allowed targets to serialize custom machine function information using MIR before I finished my internship, so I'll try to dig them up again.</div><div><br></div><div>Alex</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
-Matt<br>
______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
</blockquote></div><br></div></div>