SSA-optimized when