Add support for reduction variables when IF-conversion is enabled.