freedreno/ir3: Drop redundant IR3_REG_HALF setup in ALU ops.

It's set by ir3_put_dst() immediately after.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4518>
This commit is contained in:
Eric Anholt
2020-04-10 21:54:58 -07:00
committed by Marge Bot
parent bdd2f284d9
commit 769adc9546
-6
View File
@@ -733,12 +733,6 @@ emit_alu(struct ir3_context *ctx, nir_alu_instr *alu)
dst[0] = ir3_n2b(b, dst[0]);
}
if (nir_dest_bit_size(alu->dest.dest) < 32) {
for (unsigned i = 0; i < dst_sz; i++) {
dst[i]->regs[0]->flags |= IR3_REG_HALF;
}
}
ir3_put_dst(ctx, &alu->dest.dest);
}