I have a new block with new PHI instructions. I addIncoming for the PHIs but this apparently doesn't update the use list, which I am trying to use later on to update any instructions who are no longer dominated.<br><br>
<div class="gmail_quote">On Thu, Aug 2, 2012 at 2:55 PM, Eli Friedman <span dir="ltr"><<a href="mailto:eli.friedman@gmail.com" target="_blank">eli.friedman@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On Thu, Aug 2, 2012 at 2:52 PM, Ryan Taylor <<a href="mailto:ryta1203@gmail.com">ryta1203@gmail.com</a>> wrote:<br>
> I'd like to add a value to a use_list of a new instruction that I am<br>
> inserting, is this possible?<br>
><br>
> I was looking at using Value::addUse(Use&), however, this doesn't take a<br>
> value, it takes a Use, so I need to pass the value as a use somehow?<br>
<br>
</div></div>You normally shouldn't need to mess with use-lists directly; what are<br>
you trying to do?<br>
<span class="HOEnZb"><font color="#888888"><br>
-Eli<br>
</font></span></blockquote></div><br>