Fix phi definition in Gen analysis.