Commit 419fee92 authored by Eric Anholt's avatar Eric Anholt

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

Prevents a bug in the later control-flow support series.
parent 1387e722
......@@ -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)); \
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment