[llvm-dev] PHI incoming blocks order

Daniel Berlin via llvm-dev llvm-dev at lists.llvm.org
Mon Aug 14 12:14:01 PDT 2017


On Mon, Aug 14, 2017 at 3:58 AM, Anastasiya Ruzhanskaya via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> Hello,
> Is it a convenient way except of somehow iterating from one block to
> another to find from which block I have initial incoming value and from
> which I have a changing incoming value (this is only for phi nodes with two
> incoming blocks)? Dominator tree requires to know one block and one block
> edge...
>

Dominator tree does not require this, actually ;)
It will happily take two blocks?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170814/5aece163/attachment.html>


More information about the llvm-dev mailing list