diff --git a/src/amd/compiler/aco_lower_to_hw_instr.cpp b/src/amd/compiler/aco_lower_to_hw_instr.cpp index eea1cc99107..369b9b13d6e 100644 --- a/src/amd/compiler/aco_lower_to_hw_instr.cpp +++ b/src/amd/compiler/aco_lower_to_hw_instr.cpp @@ -2898,8 +2898,8 @@ lower_to_hw_instr(Program* program) } else if (inst->isSALU()) { num_scalar++; } else if (inst->isVALU() || inst->isVINTRP()) { - if (instr->opcode == aco_opcode::v_writelane_b32 || - instr->opcode == aco_opcode::v_writelane_b32_e64) { + if (inst->opcode == aco_opcode::v_writelane_b32 || + inst->opcode == aco_opcode::v_writelane_b32_e64) { /* writelane ignores exec, writing inactive lanes results in UB. */ can_remove = false; }