Skip to content

Commit ee12898

Browse files
likeamahoneyYan Churkin
andauthored
Add a diagnostic for unsupported system calls with more than 1 argument (#9014)
Co-authored-by: Yan Churkin <[email protected]>
1 parent acbf18e commit ee12898

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/Conversion/ImportVerilog/Expressions.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,6 +1027,8 @@ struct RvalueExprVisitor : public ExprVisitor {
10271027
break;
10281028

10291029
default:
1030+
mlir::emitError(loc)
1031+
<< "system call with more than 1 argument is not supported";
10301032
break;
10311033
}
10321034

0 commit comments

Comments
 (0)