[LLVMdev] Adding Value to use_list of instruction
Eli Friedman
eli.friedman at gmail.com
Thu Aug 2 14:55:33 PDT 2012
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
More information about the llvm-dev
mailing list