check(instr->definitions[2].getTemp().type() == RegType::vgpr &&
instr->definitions[2].getTemp().size() == 1,
"Third definition of p_dual_src_export_gfx11 must be a v1", instr.get());
- check(instr->definitions[3].getTemp().type() == RegType::sgpr &&
- instr->definitions[3].getTemp().size() == 2,
- "Fourth definition of p_dual_src_export_gfx11 must be a s2", instr.get());
+ check(instr->definitions[3].regClass() == program->lane_mask,
+ "Fourth definition of p_dual_src_export_gfx11 must be a lane mask", instr.get());
check(instr->definitions[4].physReg() == vcc,
"Fifth definition of p_dual_src_export_gfx11 must be vcc", instr.get());
check(instr->definitions[5].physReg() == scc,