[LLVMdev] Basic question concerning phi nodes and SSA variable labelling.

Carter Cheng carter_cheng at yahoo.com
Sun Aug 23 12:04:39 PDT 2009


I have a basic question concerning how LLVM assigns labels to the LHS of an SSA assignment. My impression from the interface is you can pick a string which becomes the label for the result. However if you multiple labels which share the same name in a function a number gets added to the end of the label (is this correct?). 

In cases where you need to know what these resulting labels are is it best to do you own enumeration?

Thanks in advance,

Carter.


      



More information about the llvm-dev mailing list