[LLVMdev] Variable-length Phi-node

William Moses moses.williamsteven at gmail.com
Sat Nov 9 08:35:26 PST 2013


All,

Is it possible to create something which has the same effect of a
variable-length phi node in the C++ api. Specifically, create a phi-node
where the number of incoming values is not known at the time of its
creation.

If there is no such way of creating a phinode like that, would it be
possible to create a dummy instruction and perform a replaceAllUsesWith? If
so, what should the dummy instruction be?

Thanks,
Billy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131109/726ac59d/attachment.html>


More information about the llvm-dev mailing list