Skip to content

Commit

Permalink
Fix error unmatched patterns OAsm (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuxiaomao authored Jan 31, 2024
1 parent 79221d3 commit a49af7e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions hld/CodeGraph.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}

Expand Down

0 comments on commit a49af7e

Please sign in to comment.