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.
On Thu, Aug 2, 2012 at 2:55 PM, Eli Friedman <eli.friedman at gmail.com>
wrote:
> On Thu, Aug 2, 2012 at 2:52 PM, Ryan Taylor <ryta1203 at gmail.com>
wrote:
> > I'd like to add a value to a use_list of a new instruction that I
am
> > inserting, is this possible?
> >
> > I was looking at using Value::addUse(Use&), however, this
doesn't take a
> > value, it takes a Use, so I need to pass the value as a use somehow?
>
> You normally shouldn't need to mess with use-lists directly; what are
> you trying to do?
>
> -Eli
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20120802/f06d3fe1/attachment.html>