Lift a cheap early exit test above loops and other complex early exit