projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34dc64f
)
broadcom/vc5: Remove redundant last_inst lookup.
author
Eric Anholt
<eric@anholt.net>
Wed, 14 Mar 2018 21:43:15 +0000
(14:43 -0700)
committer
Eric Anholt
<eric@anholt.net>
Mon, 19 Mar 2018 23:42:59 +0000
(16:42 -0700)
The point was to get the MOV, which the MOV_dest already returned.
src/broadcom/compiler/vir.c
patch
|
blob
|
history
diff --git
a/src/broadcom/compiler/vir.c
b/src/broadcom/compiler/vir.c
index 0b2bbf0e7940b694f4206842bf174813bd1713d6..6a315dd482329265ea77850b04d1fa82b21aedd7 100644
(file)
--- 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);