Check IR and don't use temporary files.