Just add the constructors for now and special case similar to END so
we don't remove them.
Signed-off-by: Kristian H. Kristensen <hoegsberg@google.com>
INSTR0(JUMP)
INSTR1(KILL)
INSTR0(END)
+INSTR0(CHSH)
+INSTR0(CHMASK)
/* cat2 instructions, most 2 src but some 1 src: */
INSTR2(ADD_F)
{
bool progress = false;
list_for_each_entry_safe (struct ir3_instruction, instr, &block->instr_list, node) {
- if (instr->opc == OPC_END)
+ if (instr->opc == OPC_END || instr->opc == OPC_CHSH || instr->opc == OPC_CHMASK)
continue;
if (instr->flags & IR3_INSTR_UNUSED) {
if (instr->opc == OPC_META_FO) {