[LLVMdev] Phi nodes

ST st at iss.tu-darmstadt.de
Wed Mar 28 06:36:29 PDT 2007


Hi

Thanks for your answers so far. I am currently stumbling into new questions. 
Naive as i am, i thought that the llvm-bytecode is allways in SSA form. But 
this doesn't seem to be the case. At least there are no phi instructions 
embedded if the bytecode drops out of llvm-gcc?
Looking into the archives this has been discussed before:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2005-August/004730.html
So there is stated that LLVM IR is always in SSA form. I thought that the SSA 
form includes PHI nodes at the beginning of each block. But these PHI nodes 
are not there. Or is this Phi node only necessary if the input for the 
variable is multi sourced? 

Slightly confused
ST



More information about the llvm-dev mailing list