[LLVMdev] How to insert two instructions with the same name?
Zhou Sheng
zhousheng00 at gmail.com
Sun Oct 8 01:15:03 PDT 2006
Hi,
i want to insert a PHI into one basicblock like this:
%s.1 = phi int [ 80, %entry ], [ %tmp21, %bb17 ]
then, insert a cast inst. into another basicblock like this:
%s.1 = cast int %s.1 to uint
But, when i do this, the llvm automatically change the same name into a new
one.
Actually, i found that sometimes, llvm will create bytecode containing two
instructions with same name. So, how can i implement that?
Thanks,
Sheng.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20061008/17b4fc85/attachment.html>
More information about the llvm-dev
mailing list