Clean up some comments
Use correct compile options for reference cfg gen
Update test case phi to avoid infinite loop
Add runtime output for phi test