<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 4, 2016 at 11:41 AM, Abe Skolnik 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"><span class="">On 08/04/2016 01:33 PM, David Majnemer wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
You should never be copying or moving around Values.<br>
</blockquote>
<br>
<br>
<br></span>
Why not?  Is that because of this thing you also wrote in the same message: "use lists are allocated before the object"?<span class=""><br>
<br></span></blockquote><div><br></div><div>Among other things.</div><div><br></div><div>They are simply not currently built to be relocated.</div><div>attempts to do so will likely result in a huge mess.</div><div><br></div><div>my strong recommendation here would be to stop trying to go down this path, and instead, if you want a sorted list, just put them in a separate container and sort them.</div><div><br></div></div></div></div>