Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4365>
* to loop unrolling not recognizing loop termintators, and type
* conversions also lead to regressions.
*/
- if (alu->op == nir_op_vec2 ||
- alu->op == nir_op_vec3 ||
- alu->op == nir_op_vec4 ||
- alu->op == nir_op_mov ||
+ if (nir_op_is_vec(alu->op) ||
alu_instr_is_comparison(alu) ||
alu_instr_is_type_conversion(alu))
continue;