diff --git a/hld/CodeGraph.hx b/hld/CodeGraph.hx index aaf1c8e..2dd822c 100644 --- a/hld/CodeGraph.hx +++ b/hld/CodeGraph.hx @@ -404,6 +404,12 @@ class CodeGraph { // nothing case OPrefetch(r,_,_): read(r); + case OAsm(_,_,ropt): + var r = ropt.getReg(); + if (r != null) { + read(r); + write(r); + } } }