combine IR cases
cleanup