[llvm-dev] phi node as an operand
Mohammad Norouzi via llvm-dev
llvm-dev at lists.llvm.org
Fri Jan 15 06:44:32 PST 2016
Hi all,
Is it possible to have phi nodes as an operand to an instruction?
For example, instead of
%input = phi <ty> [ <val0>, <label0>] [<val1>, <label1>]
%2 = .....
%add = add i32 %2, %input
we have sth like this:
%add = add i32 %2, %phi <ty> [ <val0>, <label0>] [<val1>, <label1>]
Best,
Mo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160115/fb4411ee/attachment.html>
More information about the llvm-dev
mailing list