Clean up the conditional for handling of sign_extend_inreg based on