Except such "optimization" may affect performance on CPUs with speculative execution/prediction. But it should be measured.