nir: Add compatibility check for ALU operations in instr_try_combine_alu
What does this MR do and why?
nir: Add compatibility check for ALU operations in instr_try_combine_alu
Ensure that the ALU operations of both instructions are the same
before attempting to combine them. This improves the robustness
and prevents undefined behavior if incompatible operations are combined.
Change-Id: Ic0b15c0be27db889615c1ba12d5080a2b5817b6c
Signed-off-by: Shriram Shastry <malladi.sastry@intel.com>