diff options
author | Eric Anholt <[email protected]> | 2018-03-14 14:43:15 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-03-19 16:42:59 -0700 |
commit | 271fc58ba1b9e6a0245c7ab262834705f2e20372 (patch) | |
tree | 65421b9f2c1365e711810962e6c44da856bc78bc /src/broadcom/compiler/vir.c | |
parent | 34dc64f6274db73851b0f1e5f0440a9785cafd6c (diff) |
broadcom/vc5: Remove redundant last_inst lookup.
The point was to get the MOV, which the MOV_dest already returned.
Diffstat (limited to 'src/broadcom/compiler/vir.c')
-rw-r--r-- | src/broadcom/compiler/vir.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/broadcom/compiler/vir.c b/src/broadcom/compiler/vir.c index 0b2bbf0e794..6a315dd4823 100644 --- a/src/broadcom/compiler/vir.c +++ b/src/broadcom/compiler/vir.c @@ -900,7 +900,6 @@ vir_PF(struct v3d_compile *c, struct qreg src, enum v3d_qpu_pf pf) last_inst != c->defs[src.index]) { /* XXX: Make the MOV be the appropriate type */ last_inst = vir_MOV_dest(c, vir_reg(QFILE_NULL, 0), src); - last_inst = (struct qinst *)c->cur_block->instructions.prev; } vir_set_pf(last_inst, pf); |