SGPA compiler