vc4: When emitting an instruction to an existing temp, mark it non-SSA.

Prevents a bug in the later control-flow support series.
This commit is contained in:
Eric Anholt
2016-05-02 12:36:56 -07:00
parent 1387e722cd
commit 419fee92ee
+2
View File
@@ -533,6 +533,8 @@ static inline struct qinst * \
qir_##name##_dest(struct vc4_compile *c, struct qreg dest, \
struct qreg a) \
{ \
if (dest.file == QFILE_TEMP) \
c->defs[dest.index] = NULL; \
return qir_emit_nodef(c, qir_inst(QOP_##name, dest, a, \
c->undef)); \
}