<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 8 December 2014 at 13:56, Rafael Espíndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On 8 December 2014 at 11:20, Colin LeMahieu <<a href="mailto:colinl@codeaurora.org">colinl@codeaurora.org</a>> wrote:<br>
> That's a good question it's entirely possible this code has never been used in the fashion you've described.<br>
><br>
> From what I've seen of the usage of this variable it only accesses TSFlags which I assumed would be the same across contexts. This variable was created in lieu of calling createHexagonMCInstrInfo every time we need to access TSFlags at the MC level.<br>
<br>
</span>Not sure. What do other backends do?<br></blockquote><div><br></div><div>cc Eric. He might know.</div><div><br></div><div>Context: the issue is the static std::unique_ptr <MCInstrInfo const> MCII; in HexagonMCInst.h, which is problematic if there are two independent users of llvm.</div><div><br></div><div>Cheers,</div><div>Rafael</div><div><br></div><div> </div></div></div></div>