[LLVMdev] How to insert two instructions with the same name?
zhousheng00 at gmail.com
Sun Oct 8 01:15:03 PDT 2006
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
Actually, i found that sometimes, llvm will create bytecode containing two
instructions with same name. So, how can i implement that?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev